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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 const char kEnablePasswordGeneration[] = "enable-password-generation"; | 574 const char kEnablePasswordGeneration[] = "enable-password-generation"; |
575 | 575 |
576 // Enables advanced app capabilities. | 576 // Enables advanced app capabilities. |
577 const char kEnablePlatformApps[] = "enable-platform-apps"; | 577 const char kEnablePlatformApps[] = "enable-platform-apps"; |
578 | 578 |
579 // Enables content settings based on host *and* plug-in in the user | 579 // Enables content settings based on host *and* plug-in in the user |
580 // preferences. | 580 // preferences. |
581 const char kEnableResourceContentSettings[] = | 581 const char kEnableResourceContentSettings[] = |
582 "enable-resource-content-settings"; | 582 "enable-resource-content-settings"; |
583 | 583 |
| 584 const char kEnableRestoreSessionState[] = "enable-restore-session-state"; |
| 585 |
584 // Enables the installation and usage of Portable Native Client. | 586 // Enables the installation and usage of Portable Native Client. |
585 const char kEnablePnacl[] = "enable-pnacl"; | 587 const char kEnablePnacl[] = "enable-pnacl"; |
586 | 588 |
587 // Enables tracking of tasks in profiler for viewing via about:profiler. | 589 // Enables tracking of tasks in profiler for viewing via about:profiler. |
588 // To predominantly disable tracking (profiling), use the command line switch: | 590 // To predominantly disable tracking (profiling), use the command line switch: |
589 // --enable-profiling=0 | 591 // --enable-profiling=0 |
590 // Some tracking will still take place at startup, but it will be turned off | 592 // Some tracking will still take place at startup, but it will be turned off |
591 // during chrome_browser_main. | 593 // during chrome_browser_main. |
592 const char kEnableProfiling[] = "enable-profiling"; | 594 const char kEnableProfiling[] = "enable-profiling"; |
593 | 595 |
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1449 | 1451 |
1450 // ----------------------------------------------------------------------------- | 1452 // ----------------------------------------------------------------------------- |
1451 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1453 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1452 // | 1454 // |
1453 // You were going to just dump your switches here, weren't you? Instead, please | 1455 // You were going to just dump your switches here, weren't you? Instead, please |
1454 // put them in alphabetical order above, or in order inside the appropriate | 1456 // put them in alphabetical order above, or in order inside the appropriate |
1455 // ifdef at the bottom. The order should match the header. | 1457 // ifdef at the bottom. The order should match the header. |
1456 // ----------------------------------------------------------------------------- | 1458 // ----------------------------------------------------------------------------- |
1457 | 1459 |
1458 } // namespace switches | 1460 } // namespace switches |
OLD | NEW |