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" | |
9 | |
8 namespace headless { | 10 namespace headless { |
9 namespace switches { | 11 namespace switches { |
10 extern const char kDeterministicFetch[]; | 12 extern const char kDeterministicFetch[]; |
11 extern const char kDumpDom[]; | 13 extern const char kDumpDom[]; |
12 extern const char kHideScrollbars[]; | 14 extern const char kHideScrollbars[]; |
13 extern const char kProxyServer[]; | 15 extern const char kProxyServer[]; |
14 extern const char kRemoteDebuggingAddress[]; | 16 extern const char kRemoteDebuggingAddress[]; |
15 extern const char kRepl[]; | 17 extern const char kRepl[]; |
16 extern const char kScreenshot[]; | 18 extern const char kScreenshot[]; |
17 extern const char kTimeout[]; | 19 extern const char kTimeout[]; |
18 extern const char kUseGL[]; | 20 extern const char kUseGL[]; |
19 extern const char kUserDataDir[]; | 21 extern const char kUserDataDir[]; |
20 extern const char kVirtualTimeBudget[]; | 22 extern const char kVirtualTimeBudget[]; |
21 extern const char kWindowSize[]; | 23 extern const char kWindowSize[]; |
24 | |
25 // Switches which are replicated from content. | |
Eric Seckler
2017/02/02 22:50:12
while you're at it, shall we move kRemoteDebugging
Sami
2017/02/02 23:15:33
Done.
| |
26 using ::switches::kEnableLogging; | |
27 using ::switches::kLoggingLevel; | |
28 | |
22 } // namespace switches | 29 } // namespace switches |
23 } // namespace headless | 30 } // namespace headless |
24 | 31 |
25 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ | 32 #endif // HEADLESS_APP_HEADLESS_SHELL_SWITCHES_H_ |
OLD | NEW |