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

Unified Diff: chrome/test/base/mojo_test_connector.h

Issue 2903533003: One BackgroundServerManager per MojoTestState (Closed)
Patch Set: new failure Created 3 years, 7 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
« no previous file with comments | « chrome/test/base/mash_browser_tests_main.cc ('k') | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/mojo_test_connector.h
diff --git a/chrome/test/base/mojo_test_connector.h b/chrome/test/base/mojo_test_connector.h
index fbeb11cef98b26fa67c094699fecf86e48d7566b..cf5f6b8835fe7749b390ce25f9699cd8e3a1776a 100644
--- a/chrome/test/base/mojo_test_connector.h
+++ b/chrome/test/base/mojo_test_connector.h
@@ -67,10 +67,12 @@ class MojoTestConnector {
// Initializes the background thread the ServiceManager runs on.
service_manager::mojom::ServiceRequest InitBackgroundServiceManager();
+ std::unique_ptr<service_manager::BackgroundServiceManager>
+ CreateBackgroundServiceManager(service_manager::mojom::ServicePtr service);
+
std::unique_ptr<content::TestState> PrepareForTest(
base::CommandLine* command_line,
- base::TestLauncher::LaunchOptions* test_launch_options,
- base::OnceClosure on_process_launched);
+ base::TestLauncher::LaunchOptions* test_launch_options);
void StartService(const std::string& service_name);
« no previous file with comments | « chrome/test/base/mash_browser_tests_main.cc ('k') | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698