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

Unified Diff: ash/mus/window_manager_application.h

Issue 2772513003: Makes AshTestHelper shutdown ChromeOS NetworkHandler (Closed)
Patch Set: comments 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
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index 757e24bc4e71d7370343f23d415aace4e32de9b9..6b23199d23e381b4edb147f2f107211907801123 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -58,12 +58,14 @@ class WindowManagerApplication : public service_manager::Service {
friend class WmTestBase;
friend class WmTestHelper;
+ // If |init_network_handler| is true, chromeos::NetworkHandler is initialized.
void InitWindowManager(
std::unique_ptr<aura::WindowTreeClient> window_tree_client,
- const scoped_refptr<base::SequencedWorkerPool>& blocking_pool);
+ const scoped_refptr<base::SequencedWorkerPool>& blocking_pool,
+ bool init_network_handler);
// Initializes lower-level OS-specific components (e.g. D-Bus services).
- void InitializeComponents();
+ void InitializeComponents(bool init_network_handler);
void ShutdownComponents();
// service_manager::Service:
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698