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

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

Issue 256003003: Enable Automatic Passwords Saving (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
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 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 browser_command_line.HasSwitch(switches::kEnableOfflineAutoReload)) { 1555 browser_command_line.HasSwitch(switches::kEnableOfflineAutoReload)) {
1556 command_line->AppendSwitch(switches::kEnableOfflineAutoReload); 1556 command_line->AppendSwitch(switches::kEnableOfflineAutoReload);
1557 } 1557 }
1558 } 1558 }
1559 1559
1560 // Please keep this in alphabetical order. 1560 // Please keep this in alphabetical order.
1561 static const char* const kSwitchNames[] = { 1561 static const char* const kSwitchNames[] = {
1562 autofill::switches::kDisableIgnoreAutocompleteOff, 1562 autofill::switches::kDisableIgnoreAutocompleteOff,
1563 autofill::switches::kDisablePasswordGeneration, 1563 autofill::switches::kDisablePasswordGeneration,
1564 autofill::switches::kEnablePasswordGeneration, 1564 autofill::switches::kEnablePasswordGeneration,
1565 autofill::switches::kEnableAutomaticPasswordsSaving,
vabr (Chromium) 2014/04/28 09:13:14 If I understand it right, this code passes the swi
rchtara 2014/04/28 11:28:29 Done.
1565 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1566 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1566 extensions::switches::kAllowHTTPBackgroundPage, 1567 extensions::switches::kAllowHTTPBackgroundPage,
1567 extensions::switches::kAllowLegacyExtensionManifests, 1568 extensions::switches::kAllowLegacyExtensionManifests,
1568 extensions::switches::kEnableExperimentalExtensionApis, 1569 extensions::switches::kEnableExperimentalExtensionApis,
1569 extensions::switches::kExtensionsOnChromeURLs, 1570 extensions::switches::kExtensionsOnChromeURLs,
1570 extensions::switches::kWhitelistedExtensionID, 1571 extensions::switches::kWhitelistedExtensionID,
1571 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO 1572 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO
1572 // to browser. 1573 // to browser.
1573 switches::kAllowNaClFileHandleAPI, 1574 switches::kAllowNaClFileHandleAPI,
1574 switches::kAppsCheckoutURL, 1575 switches::kAppsCheckoutURL,
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2678 switches::kDisableWebRtcEncryption, 2679 switches::kDisableWebRtcEncryption,
2679 }; 2680 };
2680 to_command_line->CopySwitchesFrom(from_command_line, 2681 to_command_line->CopySwitchesFrom(from_command_line,
2681 kWebRtcDevSwitchNames, 2682 kWebRtcDevSwitchNames,
2682 arraysize(kWebRtcDevSwitchNames)); 2683 arraysize(kWebRtcDevSwitchNames));
2683 } 2684 }
2684 } 2685 }
2685 #endif // defined(ENABLE_WEBRTC) 2686 #endif // defined(ENABLE_WEBRTC)
2686 2687
2687 } // namespace chrome 2688 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698