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 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 std::string group = | 1317 std::string group = |
1318 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); | 1318 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); |
1319 | 1319 |
1320 if (group == "Enabled") | 1320 if (group == "Enabled") |
1321 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); | 1321 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); |
1322 } | 1322 } |
1323 } | 1323 } |
1324 | 1324 |
1325 // Please keep this in alphabetical order. | 1325 // Please keep this in alphabetical order. |
1326 static const char* const kSwitchNames[] = { | 1326 static const char* const kSwitchNames[] = { |
| 1327 autofill::switches::kDisableFillOnAccountSelect, |
1327 autofill::switches::kDisableIgnoreAutocompleteOff, | 1328 autofill::switches::kDisableIgnoreAutocompleteOff, |
1328 autofill::switches::kDisablePasswordGeneration, | 1329 autofill::switches::kDisablePasswordGeneration, |
| 1330 autofill::switches::kEnableFillOnAccountSelect, |
1329 autofill::switches::kEnablePasswordGeneration, | 1331 autofill::switches::kEnablePasswordGeneration, |
1330 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1332 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1331 #if defined(ENABLE_EXTENSIONS) | 1333 #if defined(ENABLE_EXTENSIONS) |
1332 extensions::switches::kAllowHTTPBackgroundPage, | 1334 extensions::switches::kAllowHTTPBackgroundPage, |
1333 extensions::switches::kAllowLegacyExtensionManifests, | 1335 extensions::switches::kAllowLegacyExtensionManifests, |
1334 extensions::switches::kEnableAppView, | 1336 extensions::switches::kEnableAppView, |
1335 extensions::switches::kEnableAppWindowControls, | 1337 extensions::switches::kEnableAppWindowControls, |
1336 extensions::switches::kEnableEmbeddedExtensionOptions, | 1338 extensions::switches::kEnableEmbeddedExtensionOptions, |
1337 extensions::switches::kEnableExperimentalExtensionApis, | 1339 extensions::switches::kEnableExperimentalExtensionApis, |
1338 extensions::switches::kEnableScriptsRequireAction, | 1340 extensions::switches::kEnableScriptsRequireAction, |
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2592 switches::kDisableWebRtcEncryption, | 2594 switches::kDisableWebRtcEncryption, |
2593 }; | 2595 }; |
2594 to_command_line->CopySwitchesFrom(from_command_line, | 2596 to_command_line->CopySwitchesFrom(from_command_line, |
2595 kWebRtcDevSwitchNames, | 2597 kWebRtcDevSwitchNames, |
2596 arraysize(kWebRtcDevSwitchNames)); | 2598 arraysize(kWebRtcDevSwitchNames)); |
2597 } | 2599 } |
2598 } | 2600 } |
2599 #endif // defined(ENABLE_WEBRTC) | 2601 #endif // defined(ENABLE_WEBRTC) |
2600 | 2602 |
2601 } // namespace chrome | 2603 } // namespace chrome |
OLD | NEW |