| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // access to CRX file system APIs. | 42 // access to CRX file system APIs. |
| 43 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; | 43 const char kAllowNaClCrxFsAPI[] = "allow-nacl-crxfs-api"; |
| 44 | 44 |
| 45 // Specifies comma-separated list of extension ids or hosts to grant | 45 // Specifies comma-separated list of extension ids or hosts to grant |
| 46 // access to file handle APIs. | 46 // access to file handle APIs. |
| 47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; | 47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; |
| 48 | 48 |
| 49 // Specifies comma-separated list of extension ids or hosts to grant | 49 // Specifies comma-separated list of extension ids or hosts to grant |
| 50 // access to TCP/UDP socket APIs. | 50 // access to TCP/UDP socket APIs. |
| 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; | 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; |
| 52 | |
| 53 // Disables forcing on the experimental Plugin Power Saver feature. | |
| 54 const char kDisablePluginPowerSaver[] = "disable-plugin-power-saver"; | |
| 55 | |
| 56 // Enables forcing on the experimental Plugin Power Saver feature. | |
| 57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | |
| 58 #endif | 52 #endif |
| 59 | 53 |
| 60 #if defined(FULL_SAFE_BROWSING) | 54 #if defined(FULL_SAFE_BROWSING) |
| 61 const char kAllowUncheckedDangerousDownloads[] = | 55 const char kAllowUncheckedDangerousDownloads[] = |
| 62 "allow-unchecked-dangerous-downloads"; | 56 "allow-unchecked-dangerous-downloads"; |
| 63 const char kDisallowUncheckedDangerousDownloads[] = | 57 const char kDisallowUncheckedDangerousDownloads[] = |
| 64 "disallow-unchecked-dangerous-downloads"; | 58 "disallow-unchecked-dangerous-downloads"; |
| 65 #endif | 59 #endif |
| 66 | 60 |
| 67 // Don't block outdated plugins. | 61 // Don't block outdated plugins. |
| (...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1394 | 1388 |
| 1395 // ----------------------------------------------------------------------------- | 1389 // ----------------------------------------------------------------------------- |
| 1396 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1397 // | 1391 // |
| 1398 // You were going to just dump your switches here, weren't you? Instead, please | 1392 // You were going to just dump your switches here, weren't you? Instead, please |
| 1399 // put them in alphabetical order above, or in order inside the appropriate | 1393 // put them in alphabetical order above, or in order inside the appropriate |
| 1400 // ifdef at the bottom. The order should match the header. | 1394 // ifdef at the bottom. The order should match the header. |
| 1401 // ----------------------------------------------------------------------------- | 1395 // ----------------------------------------------------------------------------- |
| 1402 | 1396 |
| 1403 } // namespace switches | 1397 } // namespace switches |
| OLD | NEW |