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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 3777005: Rename about:labs to about:flags, part 3/3 (Closed)
Patch Set: comments Created 10 years, 2 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 | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 const char kNaClStartupDialog[] = "nacl-startup-dialog"; 756 const char kNaClStartupDialog[] = "nacl-startup-dialog";
757 757
758 // Disables the default browser check. Useful for UI/browser tests where we 758 // Disables the default browser check. Useful for UI/browser tests where we
759 // want to avoid having the default browser info-bar displayed. 759 // want to avoid having the default browser info-bar displayed.
760 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 760 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
761 761
762 // Don't record/playback events when using record & playback. 762 // Don't record/playback events when using record & playback.
763 const char kNoEvents[] = "no-events"; 763 const char kNoEvents[] = "no-events";
764 764
765 // Bypass the First Run experience when the browser is started, regardless of 765 // Bypass the First Run experience when the browser is started, regardless of
766 // Disables all experiments set on about:flags. Does not disable about:flags
767 // itself. Useful if an experiment makes chrome crash at startup: One can start
768 // chrome with --no-experiments, disable the problematic lab at about:flags and
769 // then restart chrome without this switch again.
770 const char kNoExperiments[] = "no-experiments";
771
766 // whether or not it's actually the first run. Overrides kFirstRun in case 772 // whether or not it's actually the first run. Overrides kFirstRun in case
767 // you're for some reason tempted to pass them both. 773 // you're for some reason tempted to pass them both.
768 const char kNoFirstRun[] = "no-first-run"; 774 const char kNoFirstRun[] = "no-first-run";
769 775
770 // Support a separate switch that enables the v8 playback extension. 776 // Support a separate switch that enables the v8 playback extension.
771 // The extension causes javascript calls to Date.now() and Math.random() 777 // The extension causes javascript calls to Date.now() and Math.random()
772 // to return consistent values, such that subsequent loads of the same 778 // to return consistent values, such that subsequent loads of the same
773 // page will result in consistent js-generated data and XHR requests. 779 // page will result in consistent js-generated data and XHR requests.
774 // Pages may still be able to generate inconsistent data from plugins. 780 // Pages may still be able to generate inconsistent data from plugins.
775 const char kNoJsRandomness[] = "no-js-randomness"; 781 const char kNoJsRandomness[] = "no-js-randomness";
776 782
777 // Disables all labs. Does not disable about:labs. Useful if a lab makes chrome
778 // crash at startup: One can start chrome with --no-labs, disable the
779 // problematic lab at about:labs and then restart chrome without this switch
780 // again.
781 const char kNoLabs[] = "no-labs";
782
783 // Don't send hyperlink auditing pings 783 // Don't send hyperlink auditing pings
784 const char kNoPings[] = "no-pings"; 784 const char kNoPings[] = "no-pings";
785 785
786 // Don't use a proxy server, always make direct connections. Overrides any 786 // Don't use a proxy server, always make direct connections. Overrides any
787 // other proxy server flags that are passed. 787 // other proxy server flags that are passed.
788 const char kNoProxyServer[] = "no-proxy-server"; 788 const char kNoProxyServer[] = "no-proxy-server";
789 789
790 // Don't send HTTP-Referer headers. 790 // Don't send HTTP-Referer headers.
791 const char kNoReferrers[] = "no-referrers"; 791 const char kNoReferrers[] = "no-referrers";
792 792
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 1286
1287 // ----------------------------------------------------------------------------- 1287 // -----------------------------------------------------------------------------
1288 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1288 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1289 // 1289 //
1290 // You were going to just dump your switches here, weren't you? Instead, 1290 // You were going to just dump your switches here, weren't you? Instead,
1291 // please put them in alphabetical order above, or in order inside the 1291 // please put them in alphabetical order above, or in order inside the
1292 // appropriate ifdef at the bottom. The order should match the header. 1292 // appropriate ifdef at the bottom. The order should match the header.
1293 // ----------------------------------------------------------------------------- 1293 // -----------------------------------------------------------------------------
1294 1294
1295 } // namespace switches 1295 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698