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

Unified Diff: shell/switches.cc

Issue 974403002: Add --force-in-process flag to shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: amend comment Created 5 years, 10 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
« shell/application_manager/application_manager.cc ('K') | « shell/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/switches.cc
diff --git a/shell/switches.cc b/shell/switches.cc
index b92c9291763cf350659e5f046dcb3dad06c1211c..4d6a7e8e905b051c5ca016cf057c01e5ecf1f132 100644
--- a/shell/switches.cc
+++ b/shell/switches.cc
@@ -42,6 +42,11 @@ const char kEnableExternalApplications[] = "enable-external-applications";
// change it to "single-process") when it works.
const char kEnableMultiprocess[] = "enable-multiprocess";
+// In multiprocess mode, force these apps to be loaded in the main process.
+// Comma-separate list of URLs. Example:
+// --force-in-process=mojo:native_viewport_service,mojo:network_service
+const char kForceInProcess[] = "force-in-process";
+
// Print the usage message and exit.
const char kHelp[] = "help";
@@ -67,6 +72,7 @@ const char* kSwitchArray[] = {kV,
kDisableCache,
kEnableExternalApplications,
kEnableMultiprocess,
+ kForceInProcess,
kHelp,
kMapOrigin,
kOrigin,
« shell/application_manager/application_manager.cc ('K') | « shell/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698