OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 const char kEnablePanels[] = "enable-panels"; | 529 const char kEnablePanels[] = "enable-panels"; |
530 | 530 |
531 // Enables advanced app capabilities. | 531 // Enables advanced app capabilities. |
532 const char kEnablePlatformApps[] = "enable-platform-apps"; | 532 const char kEnablePlatformApps[] = "enable-platform-apps"; |
533 | 533 |
534 // Enables content settings based on host *and* plug-in in the user | 534 // Enables content settings based on host *and* plug-in in the user |
535 // preferences. | 535 // preferences. |
536 const char kEnableResourceContentSettings[] = | 536 const char kEnableResourceContentSettings[] = |
537 "enable-resource-content-settings"; | 537 "enable-resource-content-settings"; |
538 | 538 |
| 539 // Enables the installation and usage of Portable Native Client. |
| 540 const char kEnablePnacl[] = "enable-pnacl"; |
| 541 |
539 // Enables speculative TCP/IP preconnection. | 542 // Enables speculative TCP/IP preconnection. |
540 const char kEnablePreconnect[] = "enable-preconnect"; | 543 const char kEnablePreconnect[] = "enable-preconnect"; |
541 | 544 |
542 // Enables tracking of tasks in profiler for viewing via about:profiler. | 545 // Enables tracking of tasks in profiler for viewing via about:profiler. |
543 // To predominantly disable tracking (profiling), use the command line switch: | 546 // To predominantly disable tracking (profiling), use the command line switch: |
544 // --enable-profiling=0 | 547 // --enable-profiling=0 |
545 // Some tracking will still take place at startup, but it will be turned off | 548 // Some tracking will still take place at startup, but it will be turned off |
546 // during chrome_browser_main. | 549 // during chrome_browser_main. |
547 const char kEnableProfiling[] = "enable-profiling"; | 550 const char kEnableProfiling[] = "enable-profiling"; |
548 | 551 |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 | 1331 |
1329 // ----------------------------------------------------------------------------- | 1332 // ----------------------------------------------------------------------------- |
1330 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1333 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1331 // | 1334 // |
1332 // You were going to just dump your switches here, weren't you? Instead, please | 1335 // You were going to just dump your switches here, weren't you? Instead, please |
1333 // put them in alphabetical order above, or in order inside the appropriate | 1336 // put them in alphabetical order above, or in order inside the appropriate |
1334 // ifdef at the bottom. The order should match the header. | 1337 // ifdef at the bottom. The order should match the header. |
1335 // ----------------------------------------------------------------------------- | 1338 // ----------------------------------------------------------------------------- |
1336 | 1339 |
1337 } // namespace switches | 1340 } // namespace switches |
OLD | NEW |