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

Unified Diff: content/browser/child_process_launcher_helper_posix.cc

Issue 2749653002: allow unit_tests to re-create service manager context. (Closed)
Patch Set: comment updated 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_helper_posix.cc
diff --git a/content/browser/child_process_launcher_helper_posix.cc b/content/browser/child_process_launcher_helper_posix.cc
index f245ef2f83b9412e30714f6ae8165eae31f59ed4..e655bdcfb391fd693a2c5860ed0102418ea3bc16 100644
--- a/content/browser/child_process_launcher_helper_posix.cc
+++ b/content/browser/child_process_launcher_helper_posix.cc
@@ -141,5 +141,9 @@ void SetFilesToShareForServicePosix(const std::string& service_name,
GetRequiredFilesByServiceMap()[service_name] = std::move(required_files);
}
+void ResetFilesToShareForTestingPosix() {
+ GetRequiredFilesByServiceMap().clear();
+}
+
} // namespace internal
} // namespace content
« no previous file with comments | « content/browser/child_process_launcher_helper_posix.h ('k') | content/browser/child_process_launcher_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698