| 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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 // Disables all experiments set on about:flags. Does not disable about:flags | 823 // Disables all experiments set on about:flags. Does not disable about:flags |
| 824 // itself. Useful if an experiment makes chrome crash at startup: One can start | 824 // itself. Useful if an experiment makes chrome crash at startup: One can start |
| 825 // chrome with --no-experiments, disable the problematic lab at about:flags and | 825 // chrome with --no-experiments, disable the problematic lab at about:flags and |
| 826 // then restart chrome without this switch again. | 826 // then restart chrome without this switch again. |
| 827 const char kNoExperiments[] = "no-experiments"; | 827 const char kNoExperiments[] = "no-experiments"; |
| 828 | 828 |
| 829 // whether or not it's actually the first run. Overrides kFirstRun in case | 829 // whether or not it's actually the first run. Overrides kFirstRun in case |
| 830 // you're for some reason tempted to pass them both. | 830 // you're for some reason tempted to pass them both. |
| 831 const char kNoFirstRun[] = "no-first-run"; | 831 const char kNoFirstRun[] = "no-first-run"; |
| 832 | 832 |
| 833 // Runs just the GPU process outside the sandbox. | 833 // Don't Sandbox the GPU process, does not affect other sandboxed processes. |
| 834 const char kNoGpuSandbox[] = "no-gpu-sandbox"; | 834 const char kNoGpuSandbox[] = "no-gpu-sandbox"; |
| 835 | 835 |
| 836 // Support a separate switch that enables the v8 playback extension. | 836 // Support a separate switch that enables the v8 playback extension. |
| 837 // The extension causes javascript calls to Date.now() and Math.random() | 837 // The extension causes javascript calls to Date.now() and Math.random() |
| 838 // to return consistent values, such that subsequent loads of the same | 838 // to return consistent values, such that subsequent loads of the same |
| 839 // page will result in consistent js-generated data and XHR requests. | 839 // page will result in consistent js-generated data and XHR requests. |
| 840 // Pages may still be able to generate inconsistent data from plugins. | 840 // Pages may still be able to generate inconsistent data from plugins. |
| 841 const char kNoJsRandomness[] = "no-js-randomness"; | 841 const char kNoJsRandomness[] = "no-js-randomness"; |
| 842 | 842 |
| 843 // Don't send hyperlink auditing pings | 843 // Don't send hyperlink auditing pings |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 | 1371 |
| 1372 // ----------------------------------------------------------------------------- | 1372 // ----------------------------------------------------------------------------- |
| 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1374 // | 1374 // |
| 1375 // You were going to just dump your switches here, weren't you? Instead, | 1375 // You were going to just dump your switches here, weren't you? Instead, |
| 1376 // please put them in alphabetical order above, or in order inside the | 1376 // please put them in alphabetical order above, or in order inside the |
| 1377 // appropriate ifdef at the bottom. The order should match the header. | 1377 // appropriate ifdef at the bottom. The order should match the header. |
| 1378 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
| 1379 | 1379 |
| 1380 } // namespace switches | 1380 } // namespace switches |
| OLD | NEW |