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

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

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_switches.h ('k') | headless/lib/browser/headless_browser_impl.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 #include "headless/app/headless_shell_switches.h" 5 #include "headless/app/headless_shell_switches.h"
6 6
7 namespace headless { 7 namespace headless {
8 namespace switches { 8 namespace switches {
9 9
10 // The directory breakpad should store minidumps in. 10 // The directory breakpad should store minidumps in.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // deeming the page to be ready. For determinism virtual time does not advance 53 // deeming the page to be ready. For determinism virtual time does not advance
54 // while there are pending network fetches (i.e no timers will fire). Once all 54 // while there are pending network fetches (i.e no timers will fire). Once all
55 // network fetches have completed, timers fire and if the system runs out of 55 // network fetches have completed, timers fire and if the system runs out of
56 // virtual time is fastforwarded so the next timer fires immediatley, until the 56 // virtual time is fastforwarded so the next timer fires immediatley, until the
57 // specified virtual time budget is exhausted. 57 // specified virtual time budget is exhausted.
58 const char kVirtualTimeBudget[] = "virtual-time-budget"; 58 const char kVirtualTimeBudget[] = "virtual-time-budget";
59 59
60 // Sets the initial window size. Provided as string in the format "800,600". 60 // Sets the initial window size. Provided as string in the format "800,600".
61 const char kWindowSize[] = "window-size"; 61 const char kWindowSize[] = "window-size";
62 62
63 // A string used to override the default user agent with a custom one.
64 const char kUserAgent[] = "user-agent";
65
63 } // namespace switches 66 } // namespace switches
64 } // namespace headless 67 } // namespace headless
OLDNEW
« no previous file with comments | « headless/app/headless_shell_switches.h ('k') | headless/lib/browser/headless_browser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698