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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
510 const char kEnableNTPBookmarkFeatures[] = "enable-ntp-bookmark-features"; | 510 const char kEnableNTPBookmarkFeatures[] = "enable-ntp-bookmark-features"; |
511 | 511 |
512 // Enables advanced app capabilities. | 512 // Enables advanced app capabilities. |
513 const char kEnablePlatformApps[] = "enable-platform-apps"; | 513 const char kEnablePlatformApps[] = "enable-platform-apps"; |
514 | 514 |
515 // Enables content settings based on host *and* plug-in in the user | 515 // Enables content settings based on host *and* plug-in in the user |
516 // preferences. | 516 // preferences. |
517 const char kEnableResourceContentSettings[] = | 517 const char kEnableResourceContentSettings[] = |
518 "enable-resource-content-settings"; | 518 "enable-resource-content-settings"; |
519 | 519 |
520 // Enables the installation and usage of Portable Native Client. | |
521 const char kEnablePnacl[] = "enable-pnacl"; | |
cpu_(ooo_6.6-7.5)
2011/11/23 01:51:33
I am not opposed to the switches idea, but you hav
jvoung - send to chromium...
2011/12/14 19:34:31
Yes a command line doesn't seem very friendly, but
| |
522 | |
520 // Enables speculative TCP/IP preconnection. | 523 // Enables speculative TCP/IP preconnection. |
521 const char kEnablePreconnect[] = "enable-preconnect"; | 524 const char kEnablePreconnect[] = "enable-preconnect"; |
522 | 525 |
523 // Controls the support for SDCH filtering (dictionary based expansion of | 526 // Controls the support for SDCH filtering (dictionary based expansion of |
524 // content). By default SDCH filtering is enabled. To disable SDCH filtering, | 527 // content). By default SDCH filtering is enabled. To disable SDCH filtering, |
525 // use "--enable-sdch=0" as command line argument. SDCH is currently only | 528 // use "--enable-sdch=0" as command line argument. SDCH is currently only |
526 // supported server-side for searches on google.com. | 529 // supported server-side for searches on google.com. |
527 const char kEnableSdch[] = "enable-sdch"; | 530 const char kEnableSdch[] = "enable-sdch"; |
528 | 531 |
529 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an | 532 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1297 | 1300 |
1298 // ----------------------------------------------------------------------------- | 1301 // ----------------------------------------------------------------------------- |
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1302 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1300 // | 1303 // |
1301 // You were going to just dump your switches here, weren't you? Instead, please | 1304 // You were going to just dump your switches here, weren't you? Instead, please |
1302 // put them in alphabetical order above, or in order inside the appropriate | 1305 // put them in alphabetical order above, or in order inside the appropriate |
1303 // ifdef at the bottom. The order should match the header. | 1306 // ifdef at the bottom. The order should match the header. |
1304 // ----------------------------------------------------------------------------- | 1307 // ----------------------------------------------------------------------------- |
1305 | 1308 |
1306 } // namespace switches | 1309 } // namespace switches |
OLD | NEW |