| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 // "IncludeSocketBytes" | 665 // "IncludeSocketBytes" |
| 666 // | 666 // |
| 667 // See the functions of the corresponding name in net_log_capture_mode.h for a | 667 // See the functions of the corresponding name in net_log_capture_mode.h for a |
| 668 // description of their meaning. | 668 // description of their meaning. |
| 669 const char kNetLogCaptureMode[] = "net-log-capture-mode"; | 669 const char kNetLogCaptureMode[] = "net-log-capture-mode"; |
| 670 | 670 |
| 671 // Disables the default browser check. Useful for UI/browser tests where we | 671 // Disables the default browser check. Useful for UI/browser tests where we |
| 672 // want to avoid having the default browser info-bar displayed. | 672 // want to avoid having the default browser info-bar displayed. |
| 673 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; | 673 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; |
| 674 | 674 |
| 675 // By default, an https page can load images, fonts or frames from an http | |
| 676 // page. This switch overrides this to block this lesser mixed-content problem. | |
| 677 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; | |
| 678 | |
| 679 // Disables all experiments set on about:flags. Does not disable about:flags | 675 // Disables all experiments set on about:flags. Does not disable about:flags |
| 680 // itself. Useful if an experiment makes chrome crash at startup: One can start | 676 // itself. Useful if an experiment makes chrome crash at startup: One can start |
| 681 // chrome with --no-experiments, disable the problematic lab at about:flags and | 677 // chrome with --no-experiments, disable the problematic lab at about:flags and |
| 682 // then restart chrome without this switch again. | 678 // then restart chrome without this switch again. |
| 683 const char kNoExperiments[] = "no-experiments"; | 679 const char kNoExperiments[] = "no-experiments"; |
| 684 | 680 |
| 685 // Skip First Run tasks, whether or not it's actually the First Run. Overridden | 681 // Skip First Run tasks, whether or not it's actually the First Run. Overridden |
| 686 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't | 682 // by kForceFirstRun. This does not drop the First Run sentinel and thus doesn't |
| 687 // prevent first run from occuring the next time chrome is launched without this | 683 // prevent first run from occuring the next time chrome is launched without this |
| 688 // flag. | 684 // flag. |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 | 1330 |
| 1335 // ----------------------------------------------------------------------------- | 1331 // ----------------------------------------------------------------------------- |
| 1336 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1332 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1337 // | 1333 // |
| 1338 // You were going to just dump your switches here, weren't you? Instead, please | 1334 // You were going to just dump your switches here, weren't you? Instead, please |
| 1339 // put them in alphabetical order above, or in order inside the appropriate | 1335 // put them in alphabetical order above, or in order inside the appropriate |
| 1340 // ifdef at the bottom. The order should match the header. | 1336 // ifdef at the bottom. The order should match the header. |
| 1341 // ----------------------------------------------------------------------------- | 1337 // ----------------------------------------------------------------------------- |
| 1342 | 1338 |
| 1343 } // namespace switches | 1339 } // namespace switches |
| OLD | NEW |