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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
602 | 602 |
603 // Enables password generation when we detect that the user is going through | 603 // Enables password generation when we detect that the user is going through |
604 // account creation. | 604 // account creation. |
605 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 605 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
606 | 606 |
607 // Enables content settings based on host *and* plug-in in the user | 607 // Enables content settings based on host *and* plug-in in the user |
608 // preferences. | 608 // preferences. |
609 const char kEnableResourceContentSettings[] = | 609 const char kEnableResourceContentSettings[] = |
610 "enable-resource-content-settings"; | 610 "enable-resource-content-settings"; |
611 | 611 |
612 // Enables experimental features of better session restore. See also | |
Peter Kasting
2012/08/07 01:31:54
Nit: This comment is vague ("experimental features
marja
2012/08/07 07:31:22
We agreed to put the features first behind the fla
| |
613 // kDisableRestoreSessionState which disables the less exprimental features | |
614 // which are on by default. | |
615 const char kEnableRestoreSessionState[] = "enable-restore-session-state"; | |
616 | |
612 // Enables the installation and usage of Portable Native Client. | 617 // Enables the installation and usage of Portable Native Client. |
613 const char kEnablePnacl[] = "enable-pnacl"; | 618 const char kEnablePnacl[] = "enable-pnacl"; |
614 | 619 |
615 // Enables tracking of tasks in profiler for viewing via about:profiler. | 620 // Enables tracking of tasks in profiler for viewing via about:profiler. |
616 // To predominantly disable tracking (profiling), use the command line switch: | 621 // To predominantly disable tracking (profiling), use the command line switch: |
617 // --enable-profiling=0 | 622 // --enable-profiling=0 |
618 // Some tracking will still take place at startup, but it will be turned off | 623 // Some tracking will still take place at startup, but it will be turned off |
619 // during chrome_browser_main. | 624 // during chrome_browser_main. |
620 const char kEnableProfiling[] = "enable-profiling"; | 625 const char kEnableProfiling[] = "enable-profiling"; |
621 | 626 |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1552 | 1557 |
1553 // ----------------------------------------------------------------------------- | 1558 // ----------------------------------------------------------------------------- |
1554 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1559 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1555 // | 1560 // |
1556 // You were going to just dump your switches here, weren't you? Instead, please | 1561 // You were going to just dump your switches here, weren't you? Instead, please |
1557 // put them in alphabetical order above, or in order inside the appropriate | 1562 // put them in alphabetical order above, or in order inside the appropriate |
1558 // ifdef at the bottom. The order should match the header. | 1563 // ifdef at the bottom. The order should match the header. |
1559 // ----------------------------------------------------------------------------- | 1564 // ----------------------------------------------------------------------------- |
1560 | 1565 |
1561 } // namespace switches | 1566 } // namespace switches |
OLD | NEW |