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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 570 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
571 | 571 |
572 // This applies only when the process type is "service". Enables the | 572 // This applies only when the process type is "service". Enables the |
573 // Chromoting Host Process within the service process. | 573 // Chromoting Host Process within the service process. |
574 const char kEnableRemoting[] = "enable-remoting"; | 574 const char kEnableRemoting[] = "enable-remoting"; |
575 | 575 |
576 // Enable content settings based on host *and* plug-in. | 576 // Enable content settings based on host *and* plug-in. |
577 const char kEnableResourceContentSettings[] = | 577 const char kEnableResourceContentSettings[] = |
578 "enable-resource-content-settings"; | 578 "enable-resource-content-settings"; |
579 | 579 |
| 580 // Enable Pepper and JavaScript P2P API. |
| 581 const char kEnableP2PApi[] = "enable-p2papi"; |
| 582 |
580 // Enable speculative TCP/IP preconnection. | 583 // Enable speculative TCP/IP preconnection. |
581 const char kEnablePreconnect[] = "enable-preconnect"; | 584 const char kEnablePreconnect[] = "enable-preconnect"; |
582 | 585 |
583 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 586 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
584 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 587 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
585 | 588 |
586 // Enable print preview (work in progress). | 589 // Enable print preview (work in progress). |
587 const char kEnablePrintPreview[] = "enable-print-preview"; | 590 const char kEnablePrintPreview[] = "enable-print-preview"; |
588 | 591 |
589 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra | 592 // Enable the IsSearchProviderInstalled and InstallSearchProvider with an extra |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 | 1447 |
1445 // ----------------------------------------------------------------------------- | 1448 // ----------------------------------------------------------------------------- |
1446 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1449 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1447 // | 1450 // |
1448 // You were going to just dump your switches here, weren't you? Instead, | 1451 // You were going to just dump your switches here, weren't you? Instead, |
1449 // please put them in alphabetical order above, or in order inside the | 1452 // please put them in alphabetical order above, or in order inside the |
1450 // appropriate ifdef at the bottom. The order should match the header. | 1453 // appropriate ifdef at the bottom. The order should match the header. |
1451 // ----------------------------------------------------------------------------- | 1454 // ----------------------------------------------------------------------------- |
1452 | 1455 |
1453 } // namespace switches | 1456 } // namespace switches |
OLD | NEW |