| OLD | NEW |
| 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 // you're for some reason tempted to pass them both. | 430 // you're for some reason tempted to pass them both. |
| 431 const char kNoFirstRun[] = "no-first-run"; | 431 const char kNoFirstRun[] = "no-first-run"; |
| 432 | 432 |
| 433 // Support a separate switch that enables the v8 playback extension. | 433 // Support a separate switch that enables the v8 playback extension. |
| 434 // The extension causes javascript calls to Date.now() and Math.random() | 434 // The extension causes javascript calls to Date.now() and Math.random() |
| 435 // to return consistent values, such that subsequent loads of the same | 435 // to return consistent values, such that subsequent loads of the same |
| 436 // page will result in consistent js-generated data and XHR requests. | 436 // page will result in consistent js-generated data and XHR requests. |
| 437 // Pages may still be able to generate inconsistent data from plugins. | 437 // Pages may still be able to generate inconsistent data from plugins. |
| 438 const char kNoJsRandomness[] = "no-js-randomness"; | 438 const char kNoJsRandomness[] = "no-js-randomness"; |
| 439 | 439 |
| 440 // Don't send HTTP-Referer headers. |
| 441 const char kNoReferrers[] = "no-referrers"; |
| 442 |
| 440 // Don't use a proxy server, always make direct connections. Overrides any | 443 // Don't use a proxy server, always make direct connections. Overrides any |
| 441 // other proxy server flags that are passed. | 444 // other proxy server flags that are passed. |
| 442 const char kNoProxyServer[] = "no-proxy-server"; | 445 const char kNoProxyServer[] = "no-proxy-server"; |
| 443 | 446 |
| 444 // Runs the renderer outside the sandbox. | 447 // Runs the renderer outside the sandbox. |
| 445 const char kNoSandbox[] = "no-sandbox"; | 448 const char kNoSandbox[] = "no-sandbox"; |
| 446 | 449 |
| 447 // Number of entries to show in the omnibox popup. | 450 // Number of entries to show in the omnibox popup. |
| 448 const char kOmniBoxPopupCount[] = "omnibox-popup-count"; | 451 const char kOmniBoxPopupCount[] = "omnibox-popup-count"; |
| 449 | 452 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 | 779 |
| 777 // ----------------------------------------------------------------------------- | 780 // ----------------------------------------------------------------------------- |
| 778 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 781 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 779 // | 782 // |
| 780 // You were going to just dump your switches here, weren't you? Instead, | 783 // You were going to just dump your switches here, weren't you? Instead, |
| 781 // please put them in alphabetical order above, or in order inside the | 784 // please put them in alphabetical order above, or in order inside the |
| 782 // appropriate ifdef at the bottom. The order should match the header. | 785 // appropriate ifdef at the bottom. The order should match the header. |
| 783 // ----------------------------------------------------------------------------- | 786 // ----------------------------------------------------------------------------- |
| 784 | 787 |
| 785 } // namespace switches | 788 } // namespace switches |
| OLD | NEW |