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

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

Issue 492043003: Fill on account select in the password manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit tests 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 | Annotate | Revision Log
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 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 std::string group = 1338 std::string group =
1339 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment"); 1339 base::FieldTrialList::FindFullName("LoadStaleCacheExperiment");
1340 1340
1341 if (group == "Enabled") 1341 if (group == "Enabled")
1342 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); 1342 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache);
1343 } 1343 }
1344 } 1344 }
1345 1345
1346 // Please keep this in alphabetical order. 1346 // Please keep this in alphabetical order.
1347 static const char* const kSwitchNames[] = { 1347 static const char* const kSwitchNames[] = {
1348 autofill::switches::kDisableFillOnAccountSelect,
1348 autofill::switches::kDisablePasswordGeneration, 1349 autofill::switches::kDisablePasswordGeneration,
1350 autofill::switches::kEnableFillOnAccountSelect,
1349 autofill::switches::kEnablePasswordGeneration, 1351 autofill::switches::kEnablePasswordGeneration,
1350 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1352 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1351 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1353 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1352 autofill::switches::kRespectAutocompleteOffForAutofill, 1354 autofill::switches::kRespectAutocompleteOffForAutofill,
1353 #if defined(ENABLE_EXTENSIONS) 1355 #if defined(ENABLE_EXTENSIONS)
1354 extensions::switches::kAllowHTTPBackgroundPage, 1356 extensions::switches::kAllowHTTPBackgroundPage,
1355 extensions::switches::kAllowLegacyExtensionManifests, 1357 extensions::switches::kAllowLegacyExtensionManifests,
1356 extensions::switches::kEnableAppWindowControls, 1358 extensions::switches::kEnableAppWindowControls,
1357 extensions::switches::kEnableEmbeddedExtensionOptions, 1359 extensions::switches::kEnableEmbeddedExtensionOptions,
1358 extensions::switches::kEnableExperimentalExtensionApis, 1360 extensions::switches::kEnableExperimentalExtensionApis,
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 switches::kDisableWebRtcEncryption, 2675 switches::kDisableWebRtcEncryption,
2674 }; 2676 };
2675 to_command_line->CopySwitchesFrom(from_command_line, 2677 to_command_line->CopySwitchesFrom(from_command_line,
2676 kWebRtcDevSwitchNames, 2678 kWebRtcDevSwitchNames,
2677 arraysize(kWebRtcDevSwitchNames)); 2679 arraysize(kWebRtcDevSwitchNames));
2678 } 2680 }
2679 } 2681 }
2680 #endif // defined(ENABLE_WEBRTC) 2682 #endif // defined(ENABLE_WEBRTC)
2681 2683
2682 } // namespace chrome 2684 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698