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 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 std::string group = | 1360 std::string group = |
1361 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); | 1361 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); |
1362 | 1362 |
1363 if (group == "Enabled") | 1363 if (group == "Enabled") |
1364 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); | 1364 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); |
1365 } | 1365 } |
1366 } | 1366 } |
1367 | 1367 |
1368 // Please keep this in alphabetical order. | 1368 // Please keep this in alphabetical order. |
1369 static const char* const kSwitchNames[] = { | 1369 static const char* const kSwitchNames[] = { |
| 1370 autofill::switches::kDisableFillOnAccountSelect, |
1370 autofill::switches::kDisablePasswordGeneration, | 1371 autofill::switches::kDisablePasswordGeneration, |
| 1372 autofill::switches::kEnableFillOnAccountSelect, |
1371 autofill::switches::kEnablePasswordGeneration, | 1373 autofill::switches::kEnablePasswordGeneration, |
1372 autofill::switches::kEnableSingleClickAutofill, | 1374 autofill::switches::kEnableSingleClickAutofill, |
1373 autofill::switches::kIgnoreAutocompleteOffForAutofill, | 1375 autofill::switches::kIgnoreAutocompleteOffForAutofill, |
1374 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1376 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1375 autofill::switches::kRespectAutocompleteOffForAutofill, | 1377 autofill::switches::kRespectAutocompleteOffForAutofill, |
1376 #if defined(ENABLE_EXTENSIONS) | 1378 #if defined(ENABLE_EXTENSIONS) |
1377 extensions::switches::kAllowHTTPBackgroundPage, | 1379 extensions::switches::kAllowHTTPBackgroundPage, |
1378 extensions::switches::kAllowLegacyExtensionManifests, | 1380 extensions::switches::kAllowLegacyExtensionManifests, |
1379 extensions::switches::kEnableWorkerFrame, | 1381 extensions::switches::kEnableWorkerFrame, |
1380 extensions::switches::kEnableAppWindowControls, | 1382 extensions::switches::kEnableAppWindowControls, |
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2612 switches::kDisableWebRtcEncryption, | 2614 switches::kDisableWebRtcEncryption, |
2613 }; | 2615 }; |
2614 to_command_line->CopySwitchesFrom(from_command_line, | 2616 to_command_line->CopySwitchesFrom(from_command_line, |
2615 kWebRtcDevSwitchNames, | 2617 kWebRtcDevSwitchNames, |
2616 arraysize(kWebRtcDevSwitchNames)); | 2618 arraysize(kWebRtcDevSwitchNames)); |
2617 } | 2619 } |
2618 } | 2620 } |
2619 #endif // defined(ENABLE_WEBRTC) | 2621 #endif // defined(ENABLE_WEBRTC) |
2620 | 2622 |
2621 } // namespace chrome | 2623 } // namespace chrome |
OLD | NEW |