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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 std::string group = | 1331 std::string group = |
1332 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); | 1332 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); |
1333 | 1333 |
1334 if (group == "Enabled") | 1334 if (group == "Enabled") |
1335 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); | 1335 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); |
1336 } | 1336 } |
1337 } | 1337 } |
1338 | 1338 |
1339 // Please keep this in alphabetical order. | 1339 // Please keep this in alphabetical order. |
1340 static const char* const kSwitchNames[] = { | 1340 static const char* const kSwitchNames[] = { |
| 1341 autofill::switches::kDisableFillOnAccountSelect, |
1341 autofill::switches::kDisablePasswordGeneration, | 1342 autofill::switches::kDisablePasswordGeneration, |
| 1343 autofill::switches::kEnableFillOnAccountSelect, |
1342 autofill::switches::kEnablePasswordGeneration, | 1344 autofill::switches::kEnablePasswordGeneration, |
1343 autofill::switches::kIgnoreAutocompleteOffForAutofill, | 1345 autofill::switches::kIgnoreAutocompleteOffForAutofill, |
1344 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1346 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1345 #if defined(ENABLE_EXTENSIONS) | 1347 #if defined(ENABLE_EXTENSIONS) |
1346 extensions::switches::kAllowHTTPBackgroundPage, | 1348 extensions::switches::kAllowHTTPBackgroundPage, |
1347 extensions::switches::kAllowLegacyExtensionManifests, | 1349 extensions::switches::kAllowLegacyExtensionManifests, |
1348 extensions::switches::kEnableAppWindowControls, | 1350 extensions::switches::kEnableAppWindowControls, |
1349 extensions::switches::kEnableEmbeddedExtensionOptions, | 1351 extensions::switches::kEnableEmbeddedExtensionOptions, |
1350 extensions::switches::kEnableExperimentalExtensionApis, | 1352 extensions::switches::kEnableExperimentalExtensionApis, |
1351 extensions::switches::kEnableScriptsRequireAction, | 1353 extensions::switches::kEnableScriptsRequireAction, |
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2672 switches::kDisableWebRtcEncryption, | 2674 switches::kDisableWebRtcEncryption, |
2673 }; | 2675 }; |
2674 to_command_line->CopySwitchesFrom(from_command_line, | 2676 to_command_line->CopySwitchesFrom(from_command_line, |
2675 kWebRtcDevSwitchNames, | 2677 kWebRtcDevSwitchNames, |
2676 arraysize(kWebRtcDevSwitchNames)); | 2678 arraysize(kWebRtcDevSwitchNames)); |
2677 } | 2679 } |
2678 } | 2680 } |
2679 #endif // defined(ENABLE_WEBRTC) | 2681 #endif // defined(ENABLE_WEBRTC) |
2680 | 2682 |
2681 } // namespace chrome | 2683 } // namespace chrome |
OLD | NEW |