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

Unified Diff: mojo/shell/switches.h

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 9 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/shell_test_main.cc ('k') | mojo/shell/switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/switches.h
diff --git a/mojo/shell/switches.h b/mojo/shell/switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c8056f50b6725126c8a8b9f793e41fa0584e08a
--- /dev/null
+++ b/mojo/shell/switches.h
@@ -0,0 +1,35 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SHELL_SWITCHES_H_
+#define SHELL_SWITCHES_H_
+
+#include <set>
+#include <string>
+
+namespace switches {
+
+// All switches in alphabetical order. The switches should be documented
+// alongside the definition of their values in the .cc file and, as needed,
+// in mojo_main's Usage() function.
+extern const char kArgsFor[];
+extern const char kChildProcess[];
+extern const char kContentHandlers[];
+extern const char kDisableCache[];
+extern const char kDontDeleteOnDownload[];
+extern const char kEnableExternalApplications[];
+extern const char kEnableMultiprocess[];
+extern const char kForceInProcess[];
+extern const char kHelp[];
+extern const char kMapOrigin[];
+extern const char kOrigin[];
+extern const char kPredictableAppFilenames[];
+extern const char kTraceStartup[];
+extern const char kURLMappings[];
+
+extern const std::set<std::string> GetAllSwitches();
+
+} // namespace switches
+
+#endif // SHELL_SWITCHES_H_
« no previous file with comments | « mojo/shell/shell_test_main.cc ('k') | mojo/shell/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698