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/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 std::string group = | 1315 std::string group = |
1316 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); | 1316 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); |
1317 | 1317 |
1318 if (group == "Enabled") | 1318 if (group == "Enabled") |
1319 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); | 1319 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); |
1320 } | 1320 } |
1321 } | 1321 } |
1322 | 1322 |
1323 // Please keep this in alphabetical order. | 1323 // Please keep this in alphabetical order. |
1324 static const char* const kSwitchNames[] = { | 1324 static const char* const kSwitchNames[] = { |
| 1325 autofill::switches::kDisableFillOnAccountSelect, |
1325 autofill::switches::kDisableIgnoreAutocompleteOff, | 1326 autofill::switches::kDisableIgnoreAutocompleteOff, |
1326 autofill::switches::kDisablePasswordGeneration, | 1327 autofill::switches::kDisablePasswordGeneration, |
| 1328 autofill::switches::kEnableFillOnAccountSelect, |
1327 autofill::switches::kEnablePasswordGeneration, | 1329 autofill::switches::kEnablePasswordGeneration, |
1328 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1330 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1329 extensions::switches::kAllowHTTPBackgroundPage, | 1331 extensions::switches::kAllowHTTPBackgroundPage, |
1330 extensions::switches::kAllowLegacyExtensionManifests, | 1332 extensions::switches::kAllowLegacyExtensionManifests, |
1331 extensions::switches::kEnableAppView, | 1333 extensions::switches::kEnableAppView, |
1332 extensions::switches::kEnableEmbeddedExtensionOptions, | 1334 extensions::switches::kEnableEmbeddedExtensionOptions, |
1333 extensions::switches::kEnableExperimentalExtensionApis, | 1335 extensions::switches::kEnableExperimentalExtensionApis, |
1334 extensions::switches::kEnableScriptsRequireAction, | 1336 extensions::switches::kEnableScriptsRequireAction, |
1335 extensions::switches::kExtensionsOnChromeURLs, | 1337 extensions::switches::kExtensionsOnChromeURLs, |
1336 extensions::switches::kWhitelistedExtensionID, | 1338 extensions::switches::kWhitelistedExtensionID, |
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2587 switches::kDisableWebRtcEncryption, | 2589 switches::kDisableWebRtcEncryption, |
2588 }; | 2590 }; |
2589 to_command_line->CopySwitchesFrom(from_command_line, | 2591 to_command_line->CopySwitchesFrom(from_command_line, |
2590 kWebRtcDevSwitchNames, | 2592 kWebRtcDevSwitchNames, |
2591 arraysize(kWebRtcDevSwitchNames)); | 2593 arraysize(kWebRtcDevSwitchNames)); |
2592 } | 2594 } |
2593 } | 2595 } |
2594 #endif // defined(ENABLE_WEBRTC) | 2596 #endif // defined(ENABLE_WEBRTC) |
2595 | 2597 |
2596 } // namespace chrome | 2598 } // namespace chrome |
OLD | NEW |