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

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

Issue 2684433003: Files required by a service now listed in manifest. (Closed)
Patch Set: Fixed analysis. 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "content/browser/child_process_launcher.h" 5 #include "content/browser/child_process_launcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/i18n/icu_util.h" 10 #include "base/i18n/icu_util.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 GetProcess(), exit_code, wait); 138 GetProcess(), exit_code, wait);
139 } 139 }
140 140
141 // static 141 // static
142 bool ChildProcessLauncher::TerminateProcess(const base::Process& process, 142 bool ChildProcessLauncher::TerminateProcess(const base::Process& process,
143 int exit_code, 143 int exit_code,
144 bool wait) { 144 bool wait) {
145 return ChildProcessLauncherHelper::TerminateProcess(process, exit_code, wait); 145 return ChildProcessLauncherHelper::TerminateProcess(process, exit_code, wait);
146 } 146 }
147 147
148 // static
149 void ChildProcessLauncher::SetRegisteredFilesForService(
150 const std::string& service_name,
151 std::unique_ptr<catalog::RequiredFileMap> required_files) {
152 ChildProcessLauncherHelper::SetRegisteredFilesForService(
Ken Rockot(use gerrit already) 2017/02/09 17:17:28 nit: Can we just have ServiceManagerContext call t
Jay Civelli 2017/02/09 22:08:27 ChildProcessLauncherHelper is declared in an inter
153 service_name, std::move(required_files));
154 }
155
148 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( 156 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest(
149 Client* client) { 157 Client* client) {
150 Client* ret = client_; 158 Client* ret = client_;
151 client_ = client; 159 client_ = client;
152 return ret; 160 return ret;
153 } 161 }
154 162
155 } // namespace content 163 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698