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

Unified Diff: content/browser/child_process_launcher.cc

Issue 2749653002: allow unit_tests to re-create service manager context. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index f57f26bab9ed21dd854dab8c53ee157a8cac92f5..60b0766834bb73f5e63bd2d4a5fbf21881e93f4a 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -159,6 +159,11 @@ void ChildProcessLauncher::SetRegisteredFilesForService(
service_name, std::move(required_files));
}
+// static
+void ChildProcessLauncher::ResetRegisteredFilesForTesting() {
+ ChildProcessLauncherHelper::ResetRegisteredFilesForTesting();
+}
+
ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest(
Client* client) {
Client* ret = client_;

Powered by Google App Engine
This is Rietveld 408576698