[M85 Dev][EFL] Fix errors to generate ninja files
[platform/framework/web/chromium-efl.git] / chrome / browser / file_util_service.cc
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 #include "chrome/browser/file_util_service.h"
6
7 #include "chrome/grit/generated_resources.h"
8 #include "components/strings/grit/components_strings.h"
9 #include "content/public/browser/service_process_host.h"
10
11 mojo::PendingRemote<chrome::mojom::FileUtilService> LaunchFileUtilService() {
12   mojo::PendingRemote<chrome::mojom::FileUtilService> remote;
13   content::ServiceProcessHost::Launch<chrome::mojom::FileUtilService>(
14       remote.InitWithNewPipeAndPassReceiver(),
15       content::ServiceProcessHost::Options()
16           .WithDisplayName(IDS_UTILITY_PROCESS_FILE_UTILITY_NAME)
17           .Pass());
18   return remote;
19 }