Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: headless/app/headless_shell_switches.h

Issue 2805793003: Add user-agent flag to headless (Closed)
Patch Set: Add shell switches to build file Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « headless/app/headless_shell.cc ('k') | headless/app/headless_shell_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 kProxyServer[]; 16 extern const char kProxyServer[];
17 extern const char kRemoteDebuggingAddress[]; 17 extern const char kRemoteDebuggingAddress[];
18 extern const char kRepl[]; 18 extern const char kRepl[];
19 extern const char kScreenshot[]; 19 extern const char kScreenshot[];
20 extern const char kTimeout[]; 20 extern const char kTimeout[];
21 extern const char kUseGL[]; 21 extern const char kUseGL[];
22 extern const char kUserDataDir[]; 22 extern const char kUserDataDir[];
23 extern const char kVirtualTimeBudget[]; 23 extern const char kVirtualTimeBudget[];
24 extern const char kWindowSize[]; 24 extern const char kWindowSize[];
25 extern const char kUserAgent[];
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_
OLDNEW
« no previous file with comments | « headless/app/headless_shell.cc ('k') | headless/app/headless_shell_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698