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. | |
1364 const char kWalletSecureServiceUrl[] = "wallet-secure-service-url"; | |
1365 | |
1366 // Service URL for Online Wallet service. | |
1367 const char kWalletServiceUrl[] = "wallet-service-url"; | |
Ilya Sherman
2012/12/15 01:40:12
Why do we have a non-secure URL (that we're willin
ahutter
2012/12/15 02:22:22
Done.
benquan
2012/12/15 02:48:59
I would suggest to use a different word other than
ahutter
2012/12/17 17:23:02
Added some comments.
| |
1368 | |
1363 // Enable the "native services" feature of web-intents. | 1369 // Enable the "native services" feature of web-intents. |
1364 const char kWebIntentsNativeServicesEnabled[] = | 1370 const char kWebIntentsNativeServicesEnabled[] = |
1365 "web-intents-native-services-enabled"; | 1371 "web-intents-native-services-enabled"; |
1366 | 1372 |
1367 // Enable invocation of web intents from web content. | 1373 // Enable invocation of web intents from web content. |
1368 const char kWebIntentsInvocationEnabled[] = | 1374 const char kWebIntentsInvocationEnabled[] = |
1369 "enable-web-intents-invocation"; | 1375 "enable-web-intents-invocation"; |
1370 | 1376 |
1371 // Adds the given extension ID to all the permission whitelists. | 1377 // Adds the given extension ID to all the permission whitelists. |
1372 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; | 1378 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1638 #elif defined(OS_WIN) | 1644 #elif defined(OS_WIN) |
1639 return CommandLine::ForCurrentProcess()->HasSwitch( | 1645 return CommandLine::ForCurrentProcess()->HasSwitch( |
1640 switches::kEnableChromeStyleDialogs); | 1646 switches::kEnableChromeStyleDialogs); |
1641 #else | 1647 #else |
1642 return CommandLine::ForCurrentProcess()->HasSwitch( | 1648 return CommandLine::ForCurrentProcess()->HasSwitch( |
1643 switches::kEnableChromeStyleDialogs); | 1649 switches::kEnableChromeStyleDialogs); |
1644 #endif | 1650 #endif |
1645 } | 1651 } |
1646 | 1652 |
1647 } // namespace chrome | 1653 } // namespace chrome |
OLD | NEW |