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