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

Unified Diff: shell/switches.cc

Issue 973203004: Make the shell work in multiprocess mode some apps. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: better (?) 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
« no previous file with comments | « shell/desktop/mojo_main.cc ('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 60a9245240d5cdb850002d6d1141ed34480945c3..b92c9291763cf350659e5f046dcb3dad06c1211c 100644
--- a/shell/switches.cc
+++ b/shell/switches.cc
@@ -20,8 +20,8 @@ const char kV[] = "v";
// --args-for='mojo:wget http://www.google.com'
const char kArgsFor[] = "args-for";
-// Used to specify the type of child process (switch values from
-// |ChildProcess::Type|).
+// Used internally by the main process to specify to a child process its type
+// (switch values from |ChildProcess::Type|). Not for user use.
const char kChildProcessType[] = "child-process-type";
// Comma separated list like:
@@ -59,9 +59,10 @@ const char kOrigin[] = "origin";
// the first maps 'a' to 'b' and the second 'c' to 'd'.
const char kURLMappings[] = "url-mappings";
+// Switches valid for the main process (i.e., that the user may pass in).
const char* kSwitchArray[] = {kV,
kArgsFor,
- kChildProcessType,
+ // |kChildProcessType| not for user use.
kContentHandlers,
kDisableCache,
kEnableExternalApplications,
« no previous file with comments | « shell/desktop/mojo_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698