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

Unified Diff: chrome/app/chrome_main.cc

Issue 2578893003: Converts chrome to aura-mus (Closed)
Patch Set: merge again Created 4 years 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/app/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main.cc
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index 8e1dcc577a1b9bba422497d3618a3fd91333c4ca..5d63c3b6f639ebb203b0ec376825c5577f6ffe73 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -18,6 +18,7 @@
#include "chrome/app/mash/mash_runner.h"
#include "chrome/common/channel_info.h"
#include "components/version_info/version_info.h"
+#include "services/service_manager/runner/common/client_util.h"
#endif
#if defined(OS_WIN)
@@ -103,6 +104,8 @@ int ChromeMain(int argc, const char** argv) {
if (command_line->HasSwitch("mash"))
return MashMain();
WaitForMashDebuggerIfNecessary();
+ if (service_manager::ServiceManagerIsRemote())
+ params.env_mode = aura::Env::Mode::MUS;
Peng 2017/01/03 20:15:38 This change breaks exo in mus. The exo crashes at
sadrul 2017/01/03 20:19:31 Looks like exo is trying to use ash? We need to ma
}
#endif // BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698