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 MOJO_SHELL_SWITCHES_H_ | 5 #ifndef SHELL_SWITCHES_H_ |
6 #define MOJO_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 and, as needed, |
15 // in mojo_main's Usage() function. | 15 // in mojo_main's Usage() function. |
16 extern const char kArgsFor[]; | 16 extern const char kArgsFor[]; |
17 extern const char kHelp[]; | 17 extern const char kHelp[]; |
18 extern const char kChildProcessType[]; | 18 extern const char kChildProcessType[]; |
19 extern const char kContentHandlers[]; | 19 extern const char kContentHandlers[]; |
20 extern const char kDisableCache[]; | 20 extern const char kDisableCache[]; |
21 extern const char kEnableExternalApplications[]; | 21 extern const char kEnableExternalApplications[]; |
22 extern const char kEnableMultiprocess[]; | 22 extern const char kEnableMultiprocess[]; |
23 extern const char kOrigin[]; | 23 extern const char kOrigin[]; |
24 extern const char kSpy[]; | 24 extern const char kSpy[]; |
25 extern const char kURLMappings[]; | 25 extern const char kURLMappings[]; |
26 | 26 |
27 extern const std::set<std::string> GetAllSwitches(); | 27 extern const std::set<std::string> GetAllSwitches(); |
28 | 28 |
29 } // namespace switches | 29 } // namespace switches |
30 | 30 |
31 #endif // MOJO_SHELL_SWITCHES_H_ | 31 #endif // SHELL_SWITCHES_H_ |
OLD | NEW |