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

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

Issue 667043002: Add a flag to ignore autocomplete="off" for Autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix MSVC error C4373 Created 6 years, 2 months 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 if (group == "Enabled") 1331 if (group == "Enabled")
1332 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache); 1332 command_line->AppendSwitch(switches::kEnableOfflineLoadStaleCache);
1333 } 1333 }
1334 } 1334 }
1335 1335
1336 // Please keep this in alphabetical order. 1336 // Please keep this in alphabetical order.
1337 static const char* const kSwitchNames[] = { 1337 static const char* const kSwitchNames[] = {
1338 autofill::switches::kDisableIgnoreAutocompleteOff, 1338 autofill::switches::kDisableIgnoreAutocompleteOff,
1339 autofill::switches::kDisablePasswordGeneration, 1339 autofill::switches::kDisablePasswordGeneration,
1340 autofill::switches::kEnablePasswordGeneration, 1340 autofill::switches::kEnablePasswordGeneration,
1341 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1341 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1342 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1342 #if defined(ENABLE_EXTENSIONS) 1343 #if defined(ENABLE_EXTENSIONS)
1343 extensions::switches::kAllowHTTPBackgroundPage, 1344 extensions::switches::kAllowHTTPBackgroundPage,
1344 extensions::switches::kAllowLegacyExtensionManifests, 1345 extensions::switches::kAllowLegacyExtensionManifests,
1345 extensions::switches::kEnableAppWindowControls, 1346 extensions::switches::kEnableAppWindowControls,
1346 extensions::switches::kEnableEmbeddedExtensionOptions, 1347 extensions::switches::kEnableEmbeddedExtensionOptions,
1347 extensions::switches::kEnableExperimentalExtensionApis, 1348 extensions::switches::kEnableExperimentalExtensionApis,
1348 extensions::switches::kEnableScriptsRequireAction, 1349 extensions::switches::kEnableScriptsRequireAction,
1349 extensions::switches::kExtensionsOnChromeURLs, 1350 extensions::switches::kExtensionsOnChromeURLs,
1350 extensions::switches::kWhitelistedExtensionID, 1351 extensions::switches::kWhitelistedExtensionID,
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2610 switches::kDisableWebRtcEncryption, 2611 switches::kDisableWebRtcEncryption,
2611 }; 2612 };
2612 to_command_line->CopySwitchesFrom(from_command_line, 2613 to_command_line->CopySwitchesFrom(from_command_line,
2613 kWebRtcDevSwitchNames, 2614 kWebRtcDevSwitchNames,
2614 arraysize(kWebRtcDevSwitchNames)); 2615 arraysize(kWebRtcDevSwitchNames));
2615 } 2616 }
2616 } 2617 }
2617 #endif // defined(ENABLE_WEBRTC) 2618 #endif // defined(ENABLE_WEBRTC)
2618 2619
2619 } // namespace chrome 2620 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698