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