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

Unified Diff: mash/session/session.cc

Issue 2235493002: mash: Disable ash_sysui; begin removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Connect to chrome on mash session launch; add missing gn dep. Created 4 years, 4 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 | « mash/session/session.h ('k') | mash/unittests_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index 8b137576a2d7d469645e871f51779d13ae881e3e..ff3753606d5111d3037afc00f6b15ad4721faeda 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -30,8 +30,9 @@ Session::~Session() {}
void Session::OnStart(const shell::Identity& identity) {
StartAppDriver();
StartWindowManager();
- StartSystemUI();
StartQuickLaunch();
+ // Launch a chrome window for dev convience; don't do this in the long term.
+ connector()->Connect("exe:chrome");
}
bool Session::OnConnect(const shell::Identity& remote_identity,
@@ -95,12 +96,6 @@ void Session::StartWindowManager() {
base::Unretained(this)));
}
-void Session::StartSystemUI() {
- StartRestartableService("mojo:ash_sysui",
- base::Bind(&Session::StartSystemUI,
- base::Unretained(this)));
-}
-
void Session::StartAppDriver() {
StartRestartableService(
"mojo:app_driver",
« no previous file with comments | « mash/session/session.h ('k') | mash/unittests_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698