| 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 // Prints version information and quits. | 1353 // Prints version information and quits. |
| 1354 const char kVersion[] = "version"; | 1354 const char kVersion[] = "version"; |
| 1355 | 1355 |
| 1356 // Requests that Chrome connect to a remote viewer process using an IPC | 1356 // Requests that Chrome connect to a remote viewer process using an IPC |
| 1357 // channel of the given name. | 1357 // channel of the given name. |
| 1358 const char kViewerConnection[] = "viewer-connection"; | 1358 const char kViewerConnection[] = "viewer-connection"; |
| 1359 | 1359 |
| 1360 // Cycle through a series of URLs listed in the specified file. | 1360 // Cycle through a series of URLs listed in the specified file. |
| 1361 const char kVisitURLs[] = "visit-urls"; | 1361 const char kVisitURLs[] = "visit-urls"; |
| 1362 | 1362 |
| 1363 // Secure service URL for Online Wallet service. Used for encyption of one time |
| 1364 // pads and to escrow credit card numbers. |
| 1365 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; |
| 1366 |
| 1367 // Service URL for Online Wallet service. Used as the base url for Online Wallet |
| 1368 // API calls. |
| 1369 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 1370 |
| 1363 // Enable the "native services" feature of web-intents. | 1371 // Enable the "native services" feature of web-intents. |
| 1364 const char kWebIntentsNativeServicesEnabled[] = | 1372 const char kWebIntentsNativeServicesEnabled[] = |
| 1365 "web-intents-native-services-enabled"; | 1373 "web-intents-native-services-enabled"; |
| 1366 | 1374 |
| 1367 // Enable invocation of web intents from web content. | 1375 // Enable invocation of web intents from web content. |
| 1368 const char kWebIntentsInvocationEnabled[] = | 1376 const char kWebIntentsInvocationEnabled[] = |
| 1369 "enable-web-intents-invocation"; | 1377 "enable-web-intents-invocation"; |
| 1370 | 1378 |
| 1371 // Adds the given extension ID to all the permission whitelists. | 1379 // Adds the given extension ID to all the permission whitelists. |
| 1372 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 1380 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 #elif defined(OS_WIN) | 1646 #elif defined(OS_WIN) |
| 1639 return CommandLine::ForCurrentProcess()->HasSwitch( | 1647 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1640 switches::kEnableChromeStyleDialogs); | 1648 switches::kEnableChromeStyleDialogs); |
| 1641 #else | 1649 #else |
| 1642 return CommandLine::ForCurrentProcess()->HasSwitch( | 1650 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1643 switches::kEnableChromeStyleDialogs); | 1651 switches::kEnableChromeStyleDialogs); |
| 1644 #endif | 1652 #endif |
| 1645 } | 1653 } |
| 1646 | 1654 |
| 1647 } // namespace chrome | 1655 } // namespace chrome |
| OLD | NEW |