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

Unified Diff: ash/mus/window_manager_application.h

Issue 2394503003: mustash: Fix crash when clicking on network in system tray (Closed)
Patch Set: Created 4 years, 2 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: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index 983c3a15ceb869178ad78cc9287b5bd73764369f..af8966d0af8721c8f0487052f47dc77fdb31887b 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -75,6 +75,10 @@ class WindowManagerApplication
std::unique_ptr<ui::WindowTreeClient> window_tree_client,
const scoped_refptr<base::SequencedWorkerPool>& blocking_pool);
+ // Initializes lower-level OS-specific components (e.g. D-Bus services).
+ void InitializeComponents();
+ void ShutdownComponents();
+
// shell::Service:
void OnStart(const shell::Identity& identity) override;
bool OnConnect(const shell::Identity& remote_identity,
@@ -118,6 +122,8 @@ class WindowManagerApplication
screenlock_state_listener_binding_;
#if defined(OS_CHROMEOS)
+ class StubNetworkConnectDelegate;
+ std::unique_ptr<StubNetworkConnectDelegate> network_connect_delegate_;
std::unique_ptr<chromeos::system::ScopedFakeStatisticsProvider>
statistics_provider_;
#endif

Powered by Google App Engine
This is Rietveld 408576698