OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 5 #ifndef HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
6 #define HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 6 #define HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
7 | 7 |
8 #include "content/public/common/content_switches.h" | 8 #include "content/public/common/content_switches.h" |
9 | 9 |
10 namespace headless { | 10 namespace headless { |
11 namespace switches { | 11 namespace switches { |
12 extern const char kCrashDumpsDir[]; | 12 extern const char kCrashDumpsDir[]; |
13 extern const char kDeterministicFetch[]; | 13 extern const char kDeterministicFetch[]; |
14 extern const char kDumpDom[]; | 14 extern const char kDumpDom[]; |
15 extern const char kHideScrollbars[]; | 15 extern const char kHideScrollbars[]; |
| 16 extern const char kPrintToPDF[]; |
16 extern const char kProxyServer[]; | 17 extern const char kProxyServer[]; |
17 extern const char kRemoteDebuggingAddress[]; | 18 extern const char kRemoteDebuggingAddress[]; |
18 extern const char kRepl[]; | 19 extern const char kRepl[]; |
19 extern const char kScreenshot[]; | 20 extern const char kScreenshot[]; |
20 extern const char kTimeout[]; | 21 extern const char kTimeout[]; |
21 extern const char kUseGL[]; | 22 extern const char kUseGL[]; |
22 extern const char kUserDataDir[]; | 23 extern const char kUserDataDir[]; |
23 extern const char kVirtualTimeBudget[]; | 24 extern const char kVirtualTimeBudget[]; |
24 extern const char kWindowSize[]; | 25 extern const char kWindowSize[]; |
25 | 26 |
26 // Switches which are replicated from content. | 27 // Switches which are replicated from content. |
27 using ::switches::kHostResolverRules; | 28 using ::switches::kHostResolverRules; |
28 using ::switches::kRemoteDebuggingPort; | 29 using ::switches::kRemoteDebuggingPort; |
29 | 30 |
30 } // namespace switches | 31 } // namespace switches |
31 } // namespace headless | 32 } // namespace headless |
32 | 33 |
33 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 34 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
OLD | NEW |