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 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1474 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
1475 | 1475 |
1476 #if defined(ENABLE_PLUGIN_INSTALLATION) | 1476 #if defined(ENABLE_PLUGIN_INSTALLATION) |
1477 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. | 1477 // Specifies a custom URL for fetching plug-ins metadata. Used for testing. |
1478 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; | 1478 const char kPluginsMetadataServerURL[] = "plugins-metadata-server-url"; |
1479 #endif | 1479 #endif |
1480 | 1480 |
1481 #if defined(OS_ANDROID) || defined(OS_IOS) | 1481 #if defined(OS_ANDROID) || defined(OS_IOS) |
1482 // Enable SPDY proxy. | 1482 // Enable SPDY proxy. |
1483 const char kEnableSpdyProxyAuth[] = "enable-spdy-proxy-auth"; | 1483 const char kEnableSpdyProxyAuth[] = "enable-spdy-proxy-auth"; |
| 1484 |
| 1485 // Registers for cloud policy using the BROWSER client type instead of the |
| 1486 // ANDROID_BROWSER or IOS_BROWSER types. |
| 1487 // This allows skipping the server whitelist. |
| 1488 // TODO(joaodasilva): remove this. http://crbug.com/248527 |
| 1489 const char kFakeCloudPolicyType[] = "fake-cloud-policy-type"; |
| 1490 |
1484 #endif // defined(OS_ANDROID) || defined(OS_IOS) | 1491 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
1485 | 1492 |
1486 #if defined(OS_ANDROID) | 1493 #if defined(OS_ANDROID) |
1487 // Enable the accessibility tab switcher. | 1494 // Enable the accessibility tab switcher. |
1488 const char kEnableAccessibilityTabSwitcher[] = | 1495 const char kEnableAccessibilityTabSwitcher[] = |
1489 "enable-accessibility-tab-switcher"; | 1496 "enable-accessibility-tab-switcher"; |
1490 | 1497 |
1491 // Enables the new NTP. | 1498 // Enables the new NTP. |
1492 const char kEnableNewNTP[] = "enable-new-ntp"; | 1499 const char kEnableNewNTP[] = "enable-new-ntp"; |
1493 | 1500 |
1494 // Pops the translate infobar if possible. | 1501 // Pops the translate infobar if possible. |
1495 const char kEnableTranslate[] = "enable-translate"; | 1502 const char kEnableTranslate[] = "enable-translate"; |
1496 | 1503 |
1497 // Registers for cloud policy using the BROWSER client type instead of the | |
1498 // ANDROID_BROWSER type. This enables skipping the server whitelist. | |
1499 // TODO(joaodasilva): remove this. http://crbug.com/248527 | |
1500 const char kFakeCloudPolicyType[] = "fake-cloud-policy-type"; | |
1501 | |
1502 // Uses the tablet specific UI components when available. | 1504 // Uses the tablet specific UI components when available. |
1503 const char kTabletUI[] = "tablet-ui"; | 1505 const char kTabletUI[] = "tablet-ui"; |
1504 #endif | 1506 #endif |
1505 | 1507 |
1506 #if defined(USE_ASH) | 1508 #if defined(USE_ASH) |
1507 const char kAshDisableTabScrubbing[] = "ash-disable-tab-scrubbing"; | 1509 const char kAshDisableTabScrubbing[] = "ash-disable-tab-scrubbing"; |
1508 const char kOpenAsh[] = "open-ash"; | 1510 const char kOpenAsh[] = "open-ash"; |
1509 #endif | 1511 #endif |
1510 | 1512 |
1511 #if defined(OS_POSIX) | 1513 #if defined(OS_POSIX) |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1604 | 1606 |
1605 // ----------------------------------------------------------------------------- | 1607 // ----------------------------------------------------------------------------- |
1606 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1608 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1607 // | 1609 // |
1608 // You were going to just dump your switches here, weren't you? Instead, please | 1610 // You were going to just dump your switches here, weren't you? Instead, please |
1609 // put them in alphabetical order above, or in order inside the appropriate | 1611 // put them in alphabetical order above, or in order inside the appropriate |
1610 // ifdef at the bottom. The order should match the header. | 1612 // ifdef at the bottom. The order should match the header. |
1611 // ----------------------------------------------------------------------------- | 1613 // ----------------------------------------------------------------------------- |
1612 | 1614 |
1613 } // namespace switches | 1615 } // namespace switches |
OLD | NEW |