OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SHELL_SWITCHES_H_ | 5 #ifndef SHELL_SWITCHES_H_ |
6 #define SHELL_SWITCHES_H_ | 6 #define SHELL_SWITCHES_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
13 // All switches in alphabetical order. The switches should be documented | 13 // All switches in alphabetical order. The switches should be documented |
14 // alongside the definition of their values in the .cc file and, as needed, | 14 // alongside the definition of their values in the .cc file. |
15 // in mojo_main's Usage() function. | |
16 extern const char kArgsFor[]; | |
17 extern const char kChildProcess[]; | 15 extern const char kChildProcess[]; |
18 extern const char kContentHandlers[]; | 16 extern const char kContentHandlers[]; |
19 extern const char kDisableCache[]; | 17 extern const char kDisableCache[]; |
20 extern const char kDontDeleteOnDownload[]; | 18 extern const char kDontDeleteOnDownload[]; |
21 extern const char kEnableMultiprocess[]; | 19 extern const char kEnableMultiprocess[]; |
22 extern const char kForceInProcess[]; | 20 extern const char kForceInProcess[]; |
23 extern const char kHelp[]; | 21 extern const char kHelp[]; |
24 extern const char kMapOrigin[]; | 22 extern const char kMapOrigin[]; |
25 extern const char kOrigin[]; | 23 extern const char kOrigin[]; |
26 extern const char kPredictableAppFilenames[]; | 24 extern const char kPredictableAppFilenames[]; |
27 extern const char kTraceStartup[]; | 25 extern const char kTraceStartup[]; |
28 extern const char kURLMappings[]; | |
29 | |
30 extern const std::set<std::string> GetAllSwitches(); | |
31 | 26 |
32 } // namespace switches | 27 } // namespace switches |
33 | 28 |
34 #endif // SHELL_SWITCHES_H_ | 29 #endif // SHELL_SWITCHES_H_ |
OLD | NEW |