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

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

Issue 289393002: Remove --no-js-randomness. Only used by perftracker, which is dead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 // chrome with --no-experiments, disable the problematic lab at about:flags and 913 // chrome with --no-experiments, disable the problematic lab at about:flags and
914 // then restart chrome without this switch again. 914 // then restart chrome without this switch again.
915 const char kNoExperiments[] = "no-experiments"; 915 const char kNoExperiments[] = "no-experiments";
916 916
917 // Skip First Run tasks, whether or not it's actually the First Run. Overridden 917 // Skip First Run tasks, whether or not it's actually the First Run. Overridden
918 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't 918 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't
919 // prevent first run from occuring the next time chrome is launched without this 919 // prevent first run from occuring the next time chrome is launched without this
920 // flag. 920 // flag.
921 const char kNoFirstRun[] = "no-first-run"; 921 const char kNoFirstRun[] = "no-first-run";
922 922
923 // Support a separate switch that enables the v8 playback extension.
924 // The extension causes javascript calls to Date.now() and Math.random()
925 // to return consistent values, such that subsequent loads of the same
926 // page will result in consistent js-generated data and XHR requests.
927 // Pages may still be able to generate inconsistent data from plugins.
928 const char kNoJsRandomness[] = "no-js-randomness";
929
930 // Whether or not the browser should warn if the profile is on a network share. 923 // Whether or not the browser should warn if the profile is on a network share.
931 // This flag is only relevant for Windows currently. 924 // This flag is only relevant for Windows currently.
932 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; 925 const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
933 926
934 // Don't send hyperlink auditing pings 927 // Don't send hyperlink auditing pings
935 const char kNoPings[] = "no-pings"; 928 const char kNoPings[] = "no-pings";
936 929
937 // Don't use a proxy server, always make direct connections. Overrides any 930 // Don't use a proxy server, always make direct connections. Overrides any
938 // other proxy server flags that are passed. 931 // other proxy server flags that are passed.
939 const char kNoProxyServer[] = "no-proxy-server"; 932 const char kNoProxyServer[] = "no-proxy-server";
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 1452
1460 // ----------------------------------------------------------------------------- 1453 // -----------------------------------------------------------------------------
1461 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1454 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1462 // 1455 //
1463 // You were going to just dump your switches here, weren't you? Instead, please 1456 // You were going to just dump your switches here, weren't you? Instead, please
1464 // put them in alphabetical order above, or in order inside the appropriate 1457 // put them in alphabetical order above, or in order inside the appropriate
1465 // ifdef at the bottom. The order should match the header. 1458 // ifdef at the bottom. The order should match the header.
1466 // ----------------------------------------------------------------------------- 1459 // -----------------------------------------------------------------------------
1467 1460
1468 } // namespace switches 1461 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698