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

Unified Diff: mojo/shell/switches.cc

Issue 617943002: Enable setting configuration arguments for Mojo applications with mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use base::string16 instead std::wstring Created 6 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
« no previous file with comments | « mojo/shell/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/switches.cc
diff --git a/mojo/shell/switches.cc b/mojo/shell/switches.cc
index b3f2ac3c2ea08929bbb37a4801c166af4abad31b..61a93e2ffd153605a7dbc53c0cc067204cd268cf 100644
--- a/mojo/shell/switches.cc
+++ b/mojo/shell/switches.cc
@@ -6,6 +6,10 @@
namespace switches {
+// Specify configuration arguments for a Mojo application URL. For example:
+// --args-for='mojo://mojo_wget http://www.google.com'
+const char kArgsFor[] = "args-for";
+
// Used to specify the type of child process (switch values from
// |ChildProcess::Type|).
const char kChildProcessType[] = "child-process-type";
« no previous file with comments | « mojo/shell/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698