Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 773573004: Fill on account select in the password manager behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 std::string group = 1342 std::string group =
1343 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); 1343 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment");
1344 1344
1345 if (group == "Enabled") 1345 if (group == "Enabled")
1346 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); 1346 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache);
1347 } 1347 }
1348 } 1348 }
1349 1349
1350 // Please keep this in alphabetical order. 1350 // Please keep this in alphabetical order.
1351 static const char* const kSwitchNames[] = { 1351 static const char* const kSwitchNames[] = {
1352 autofill::switches::kDisableFillOnAccountSelect,
1352 autofill::switches::kDisablePasswordGeneration, 1353 autofill::switches::kDisablePasswordGeneration,
1354 autofill::switches::kEnableFillOnAccountSelect,
1353 autofill::switches::kEnablePasswordGeneration, 1355 autofill::switches::kEnablePasswordGeneration,
1354 autofill::switches::kEnableSingleClickAutofill, 1356 autofill::switches::kEnableSingleClickAutofill,
1355 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1357 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1356 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1358 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1357 autofill::switches::kRespectAutocompleteOffForAutofill, 1359 autofill::switches::kRespectAutocompleteOffForAutofill,
1358 #if defined(ENABLE_EXTENSIONS) 1360 #if defined(ENABLE_EXTENSIONS)
1359 extensions::switches::kAllowHTTPBackgroundPage, 1361 extensions::switches::kAllowHTTPBackgroundPage,
1360 extensions::switches::kAllowLegacyExtensionManifests, 1362 extensions::switches::kAllowLegacyExtensionManifests,
1361 extensions::switches::kEnableWorkerFrame, 1363 extensions::switches::kEnableWorkerFrame,
1362 extensions::switches::kEnableAppWindowControls, 1364 extensions::switches::kEnableAppWindowControls,
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
2551 switches::kDisableWebRtcEncryption, 2553 switches::kDisableWebRtcEncryption,
2552 }; 2554 };
2553 to_command_line->CopySwitchesFrom(from_command_line, 2555 to_command_line->CopySwitchesFrom(from_command_line,
2554 kWebRtcDevSwitchNames, 2556 kWebRtcDevSwitchNames,
2555 arraysize(kWebRtcDevSwitchNames)); 2557 arraysize(kWebRtcDevSwitchNames));
2556 } 2558 }
2557 } 2559 }
2558 #endif // defined(ENABLE_WEBRTC) 2560 #endif // defined(ENABLE_WEBRTC)
2559 2561
2560 } // namespace chrome 2562 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698