| 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 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 // Prints version information and quits. | 1339 // Prints version information and quits. |
| 1340 const char kVersion[] = "version"; | 1340 const char kVersion[] = "version"; |
| 1341 | 1341 |
| 1342 // Requests that Chrome connect to a remote viewer process using an IPC | 1342 // Requests that Chrome connect to a remote viewer process using an IPC |
| 1343 // channel of the given name. | 1343 // channel of the given name. |
| 1344 const char kViewerConnection[] = "viewer-connection"; | 1344 const char kViewerConnection[] = "viewer-connection"; |
| 1345 | 1345 |
| 1346 // Cycle through a series of URLs listed in the specified file. | 1346 // Cycle through a series of URLs listed in the specified file. |
| 1347 const char kVisitURLs[] = "visit-urls"; | 1347 const char kVisitURLs[] = "visit-urls"; |
| 1348 | 1348 |
| 1349 // Secure service URL for Online Wallet service. |
| 1350 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; |
| 1351 |
| 1352 // Service URL for Online Wallet service. |
| 1353 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 1354 |
| 1349 // Enable the "native services" feature of web-intents. | 1355 // Enable the "native services" feature of web-intents. |
| 1350 const char kWebIntentsNativeServicesEnabled[] = | 1356 const char kWebIntentsNativeServicesEnabled[] = |
| 1351 "web-intents-native-services-enabled"; | 1357 "web-intents-native-services-enabled"; |
| 1352 | 1358 |
| 1353 // Enable invocation of web intents from web content. | 1359 // Enable invocation of web intents from web content. |
| 1354 const char kWebIntentsInvocationEnabled[] = | 1360 const char kWebIntentsInvocationEnabled[] = |
| 1355 "enable-web-intents-invocation"; | 1361 "enable-web-intents-invocation"; |
| 1356 | 1362 |
| 1357 // Adds the given extension ID to all the permission whitelists. | 1363 // Adds the given extension ID to all the permission whitelists. |
| 1358 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 1364 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 #elif defined(OS_WIN) | 1635 #elif defined(OS_WIN) |
| 1630 return CommandLine::ForCurrentProcess()->HasSwitch( | 1636 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1631 switches::kEnableChromeStyleDialogs); | 1637 switches::kEnableChromeStyleDialogs); |
| 1632 #else | 1638 #else |
| 1633 return CommandLine::ForCurrentProcess()->HasSwitch( | 1639 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1634 switches::kEnableChromeStyleDialogs); | 1640 switches::kEnableChromeStyleDialogs); |
| 1635 #endif | 1641 #endif |
| 1636 } | 1642 } |
| 1637 | 1643 |
| 1638 } // namespace chrome | 1644 } // namespace chrome |
| OLD | NEW |