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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 | 583 |
584 // Enables password generation when we detect that the user is going through | 584 // Enables password generation when we detect that the user is going through |
585 // account creation. | 585 // account creation. |
586 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 586 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
587 | 587 |
588 // Enables content settings based on host *and* plug-in in the user | 588 // Enables content settings based on host *and* plug-in in the user |
589 // preferences. | 589 // preferences. |
590 const char kEnableResourceContentSettings[] = | 590 const char kEnableResourceContentSettings[] = |
591 "enable-resource-content-settings"; | 591 "enable-resource-content-settings"; |
592 | 592 |
| 593 // Enables experimental features of better session restore. See also |
| 594 // kDisableRestoreSessionState which disables the less exprimental features |
| 595 // which are on by default. |
| 596 const char kEnableRestoreSessionState[] = "enable-restore-session-state"; |
| 597 |
593 // Enables the installation and usage of Portable Native Client. | 598 // Enables the installation and usage of Portable Native Client. |
594 const char kEnablePnacl[] = "enable-pnacl"; | 599 const char kEnablePnacl[] = "enable-pnacl"; |
595 | 600 |
596 // Enables tracking of tasks in profiler for viewing via about:profiler. | 601 // Enables tracking of tasks in profiler for viewing via about:profiler. |
597 // To predominantly disable tracking (profiling), use the command line switch: | 602 // To predominantly disable tracking (profiling), use the command line switch: |
598 // --enable-profiling=0 | 603 // --enable-profiling=0 |
599 // Some tracking will still take place at startup, but it will be turned off | 604 // Some tracking will still take place at startup, but it will be turned off |
600 // during chrome_browser_main. | 605 // during chrome_browser_main. |
601 const char kEnableProfiling[] = "enable-profiling"; | 606 const char kEnableProfiling[] = "enable-profiling"; |
602 | 607 |
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1493 | 1498 |
1494 // ----------------------------------------------------------------------------- | 1499 // ----------------------------------------------------------------------------- |
1495 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1500 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1496 // | 1501 // |
1497 // You were going to just dump your switches here, weren't you? Instead, please | 1502 // You were going to just dump your switches here, weren't you? Instead, please |
1498 // put them in alphabetical order above, or in order inside the appropriate | 1503 // put them in alphabetical order above, or in order inside the appropriate |
1499 // ifdef at the bottom. The order should match the header. | 1504 // ifdef at the bottom. The order should match the header. |
1500 // ----------------------------------------------------------------------------- | 1505 // ----------------------------------------------------------------------------- |
1501 | 1506 |
1502 } // namespace switches | 1507 } // namespace switches |
OLD | NEW |