OLD | NEW |
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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 // subsequent runs as well. | 984 // subsequent runs as well. |
985 const char kNoFirstRun[] = "no-first-run"; | 985 const char kNoFirstRun[] = "no-first-run"; |
986 | 986 |
987 // Support a separate switch that enables the v8 playback extension. | 987 // Support a separate switch that enables the v8 playback extension. |
988 // The extension causes javascript calls to Date.now() and Math.random() | 988 // The extension causes javascript calls to Date.now() and Math.random() |
989 // to return consistent values, such that subsequent loads of the same | 989 // to return consistent values, such that subsequent loads of the same |
990 // page will result in consistent js-generated data and XHR requests. | 990 // page will result in consistent js-generated data and XHR requests. |
991 // Pages may still be able to generate inconsistent data from plugins. | 991 // Pages may still be able to generate inconsistent data from plugins. |
992 const char kNoJsRandomness[] = "no-js-randomness"; | 992 const char kNoJsRandomness[] = "no-js-randomness"; |
993 | 993 |
994 // Disables the timeout during registration of a new managed-user profile; | |
995 // useful for debugging. | |
996 const char kNoManagedUserRegistrationTimeout[] = | |
997 "no-managed-user-registration-timeout"; | |
998 | |
999 // Whether or not the browser should warn if the profile is on a network share. | 994 // Whether or not the browser should warn if the profile is on a network share. |
1000 // This flag is only relevant for Windows currently. | 995 // This flag is only relevant for Windows currently. |
1001 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; | 996 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; |
1002 | 997 |
1003 // Don't send hyperlink auditing pings | 998 // Don't send hyperlink auditing pings |
1004 const char kNoPings[] = "no-pings"; | 999 const char kNoPings[] = "no-pings"; |
1005 | 1000 |
1006 // Don't use a proxy server, always make direct connections. Overrides any | 1001 // Don't use a proxy server, always make direct connections. Overrides any |
1007 // other proxy server flags that are passed. | 1002 // other proxy server flags that are passed. |
1008 const char kNoProxyServer[] = "no-proxy-server"; | 1003 const char kNoProxyServer[] = "no-proxy-server"; |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1603 | 1598 |
1604 // ----------------------------------------------------------------------------- | 1599 // ----------------------------------------------------------------------------- |
1605 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1600 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1606 // | 1601 // |
1607 // You were going to just dump your switches here, weren't you? Instead, please | 1602 // You were going to just dump your switches here, weren't you? Instead, please |
1608 // put them in alphabetical order above, or in order inside the appropriate | 1603 // put them in alphabetical order above, or in order inside the appropriate |
1609 // ifdef at the bottom. The order should match the header. | 1604 // ifdef at the bottom. The order should match the header. |
1610 // ----------------------------------------------------------------------------- | 1605 // ----------------------------------------------------------------------------- |
1611 | 1606 |
1612 } // namespace switches | 1607 } // namespace switches |
OLD | NEW |