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

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

Issue 2858103002: Have mash_browser_tests recreate BackgroundServiceManager per test (Closed)
Patch Set: Rebase 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 441cc8df789b08f2878300e5f2eec2d91ff639d4..fbeb11cef98b26fa67c094699fecf86e48d7566b 100644
--- a/chrome/test/base/mojo_test_connector.h
+++ b/chrome/test/base/mojo_test_connector.h
@@ -57,8 +57,15 @@ class MojoTestConnector {
Config config);
~MojoTestConnector();
+ service_manager::BackgroundServiceManager* background_service_manager() {
+ return background_service_manager_.get();
+ }
+
+ // Initializes the Mojo environment, and IPC thread.
+ void Init();
+
// Initializes the background thread the ServiceManager runs on.
- service_manager::mojom::ServiceRequest Init();
+ service_manager::mojom::ServiceRequest InitBackgroundServiceManager();
std::unique_ptr<content::TestState> PrepareForTest(
base::CommandLine* command_line,
« 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