1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_WIN_UTIL_WIN_SERVICE_H_ 6 #define CHROME_BROWSER_WIN_UTIL_WIN_SERVICE_H_ 7 8 #include "chrome/services/util_win/public/mojom/util_win.mojom.h" 9 #include "mojo/public/cpp/bindings/remote.h" 10 11 // Spawns a new isolated instance of the Windows utility service and returns a 12 // remote interface to it. The lifetime of the service process is tied strictly 13 // to the lifetime of the returned Remote. 14 mojo::Remote<chrome::mojom::UtilWin> LaunchUtilWinServiceInstance(); 15 16 #endif // CHROME_BROWSER_WIN_UTIL_WIN_SERVICE_H_ 17