| OLD | NEW |
| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 } | 152 } |
| 153 | 153 |
| 154 // static | 154 // static |
| 155 void ChildProcessLauncher::SetRegisteredFilesForService( | 155 void ChildProcessLauncher::SetRegisteredFilesForService( |
| 156 const std::string& service_name, | 156 const std::string& service_name, |
| 157 catalog::RequiredFileMap required_files) { | 157 catalog::RequiredFileMap required_files) { |
| 158 ChildProcessLauncherHelper::SetRegisteredFilesForService( | 158 ChildProcessLauncherHelper::SetRegisteredFilesForService( |
| 159 service_name, std::move(required_files)); | 159 service_name, std::move(required_files)); |
| 160 } | 160 } |
| 161 | 161 |
| 162 // static |
| 163 void ChildProcessLauncher::ResetRegisteredFilesForTesting() { |
| 164 ChildProcessLauncherHelper::ResetRegisteredFilesForTesting(); |
| 165 } |
| 166 |
| 162 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( | 167 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( |
| 163 Client* client) { | 168 Client* client) { |
| 164 Client* ret = client_; | 169 Client* ret = client_; |
| 165 client_ = client; | 170 client_ = client; |
| 166 return ret; | 171 return ret; |
| 167 } | 172 } |
| 168 | 173 |
| 169 } // namespace content | 174 } // namespace content |
| OLD | NEW |