[M120 Migration]Fix for crash during chrome exit
[platform/framework/web/chromium-efl.git] / chrome / browser / file_util_service.h
1 // Copyright 2019 The Chromium Authors
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_FILE_UTIL_SERVICE_H_
6 #define CHROME_BROWSER_FILE_UTIL_SERVICE_H_
7
8 #include "chrome/services/file_util/public/mojom/file_util_service.mojom-forward.h"
9 #include "mojo/public/cpp/bindings/pending_remote.h"
10
11 // Launches a new instance of the FileUtil service in an isolated, sandboxed
12 // process and returns a remote interface to control the service. The lifetime
13 // of the process is tied to that of the remote. May be called from any thread.
14 mojo::PendingRemote<chrome::mojom::FileUtilService> LaunchFileUtilService();
15
16 #endif  // CHROME_BROWSER_FILE_UTIL_SERVICE_H_