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 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 // Specifies a custom URL for the server which reports variation data to the | 1340 // Specifies a custom URL for the server which reports variation data to the |
1341 // client. See variations_service.cc. | 1341 // client. See variations_service.cc. |
1342 const char kVariationsServerURL[] = "variations-server-url"; | 1342 const char kVariationsServerURL[] = "variations-server-url"; |
1343 | 1343 |
1344 // Prints version information and quits. | 1344 // Prints version information and quits. |
1345 const char kVersion[] = "version"; | 1345 const char kVersion[] = "version"; |
1346 | 1346 |
1347 // Cycle through a series of URLs listed in the specified file. | 1347 // Cycle through a series of URLs listed in the specified file. |
1348 const char kVisitURLs[] = "visit-urls"; | 1348 const char kVisitURLs[] = "visit-urls"; |
1349 | 1349 |
| 1350 // Service url for Online Wallet Service |
| 1351 const char kWalletServiceUrl[] = "wallet-service-url"; |
| 1352 |
1350 // Enable the "native services" feature of web-intents. | 1353 // Enable the "native services" feature of web-intents. |
1351 const char kWebIntentsNativeServicesEnabled[] = | 1354 const char kWebIntentsNativeServicesEnabled[] = |
1352 "web-intents-native-services-enabled"; | 1355 "web-intents-native-services-enabled"; |
1353 | 1356 |
1354 // Enable invocation of web intents from web content. | 1357 // Enable invocation of web intents from web content. |
1355 const char kWebIntentsInvocationEnabled[] = | 1358 const char kWebIntentsInvocationEnabled[] = |
1356 "enable-web-intents-invocation"; | 1359 "enable-web-intents-invocation"; |
1357 | 1360 |
1358 // Adds the given extension ID to all the permission whitelists. | 1361 // Adds the given extension ID to all the permission whitelists. |
1359 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 1362 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1623 #elif defined(OS_WIN) | 1626 #elif defined(OS_WIN) |
1624 return CommandLine::ForCurrentProcess()->HasSwitch( | 1627 return CommandLine::ForCurrentProcess()->HasSwitch( |
1625 switches::kEnableChromeStyleDialogs); | 1628 switches::kEnableChromeStyleDialogs); |
1626 #else | 1629 #else |
1627 return CommandLine::ForCurrentProcess()->HasSwitch( | 1630 return CommandLine::ForCurrentProcess()->HasSwitch( |
1628 switches::kEnableChromeStyleDialogs); | 1631 switches::kEnableChromeStyleDialogs); |
1629 #endif | 1632 #endif |
1630 } | 1633 } |
1631 | 1634 |
1632 } // namespace chrome | 1635 } // namespace chrome |
OLD | NEW |