Index: mojo/shell/switches.cc |
diff --git a/mojo/shell/switches.cc b/mojo/shell/switches.cc |
index 2150b1970102ca93fb957fdd7179c86883525172..28e7d058a41a77440e2d23c48a47cf79ff902f3f 100644 |
--- a/mojo/shell/switches.cc |
+++ b/mojo/shell/switches.cc |
@@ -8,18 +8,6 @@ |
namespace switches { |
-namespace { |
-// This controls logging verbosity. It's not strictly a switch for mojo_shell, |
-// and isn't included in the public switches, but is included here so that it |
-// doesn't trigger an error at startup. |
-const char kV[] = "v"; |
- |
-} // namespace |
- |
-// Specify configuration arguments for a Mojo application URL. For example: |
-// --args-for='mojo:wget http://www.google.com' |
-const char kArgsFor[] = "args-for"; |
- |
// Used internally by the main process to indicate that a new process should be |
// a child process. Not for user use. |
const char kChildProcess[] = "child-process"; |
@@ -67,34 +55,4 @@ const char kPredictableAppFilenames[] = "predictable-app-filenames"; |
// seconds or when the shell exits. |
const char kTraceStartup[] = "trace-startup"; |
-// Specifies a set of mappings to apply when resolving urls. The value is a set |
-// of ',' separated mappings, where each mapping consists of a pair of urls |
-// giving the to/from url to map. For example, 'a=b,c=d' contains two mappings, |
-// 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, |
- // |kChildProcess| not for user use. |
- kContentHandlers, |
- kDisableCache, |
- kDontDeleteOnDownload, |
- kEnableMultiprocess, |
- kForceInProcess, |
- kHelp, |
- kMapOrigin, |
- kOrigin, |
- kPredictableAppFilenames, |
- kTraceStartup, |
- kURLMappings}; |
- |
-const std::set<std::string> GetAllSwitches() { |
- std::set<std::string> switch_set; |
- |
- for (size_t i = 0; i < arraysize(kSwitchArray); ++i) |
- switch_set.insert(kSwitchArray[i]); |
- return switch_set; |
-} |
- |
} // namespace switches |