Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: content/browser/child_process_launcher_helper_win.cc

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Fix build. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/metrics/field_trial.h" 6 #include "base/metrics/field_trial.h"
7 #include "base/path_service.h"
7 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
8 #include "base/win/scoped_handle.h" 9 #include "base/win/scoped_handle.h"
9 #include "base/win/win_util.h" 10 #include "base/win/win_util.h"
10 #include "content/browser/child_process_launcher_helper.h" 11 #include "content/browser/child_process_launcher_helper.h"
11 #include "content/common/sandbox_win.h" 12 #include "content/common/sandbox_win.h"
12 #include "content/public/common/result_codes.h" 13 #include "content/public/common/result_codes.h"
13 #include "content/public/common/sandbox_init.h" 14 #include "content/public/common/sandbox_init.h"
14 #include "content/public/common/sandboxed_process_launcher_delegate.h" 15 #include "content/public/common/sandboxed_process_launcher_delegate.h"
15 #include "mojo/edk/embedder/named_platform_channel_pair.h" 16 #include "mojo/edk/embedder/named_platform_channel_pair.h"
16 #include "mojo/edk/embedder/platform_channel_pair.h" 17 #include "mojo/edk/embedder/platform_channel_pair.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 109 }
109 110
110 // static 111 // static
111 void ChildProcessLauncherHelper::SetProcessBackgroundedOnLauncherThread( 112 void ChildProcessLauncherHelper::SetProcessBackgroundedOnLauncherThread(
112 base::Process process, bool background) { 113 base::Process process, bool background) {
113 DCHECK_CURRENTLY_ON(BrowserThread::PROCESS_LAUNCHER); 114 DCHECK_CURRENTLY_ON(BrowserThread::PROCESS_LAUNCHER);
114 if (process.CanBackgroundProcesses()) 115 if (process.CanBackgroundProcesses())
115 process.SetProcessBackgrounded(background); 116 process.SetProcessBackgrounded(background);
116 } 117 }
117 118
119 // static
120 void ChildProcessLauncherHelper::SetRegisteredFilesForService(
121 const std::string& service_name,
122 catalog::RequiredFileMap required_files) {
123 // No file passing from the manifest on Windows yet.
124 DCHECK(required_files.empty());
125 }
126
118 } // namespace internal 127 } // namespace internal
119 } // namespace content 128 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher_helper_posix.cc ('k') | content/browser/service_manager/service_manager_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698