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

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

Issue 2066703004: Change fill-on-account-select to use Features API, not a custom flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix tests on iOS Created 4 years, 6 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 <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1551 1551
1552 MaybeAppendBlinkSettingsSwitchForFieldTrial( 1552 MaybeAppendBlinkSettingsSwitchForFieldTrial(
1553 browser_command_line, command_line); 1553 browser_command_line, command_line);
1554 1554
1555 // Please keep this in alphabetical order. 1555 // Please keep this in alphabetical order.
1556 static const char* const kSwitchNames[] = { 1556 static const char* const kSwitchNames[] = {
1557 #if defined(OS_ANDROID) 1557 #if defined(OS_ANDROID)
1558 autofill::switches::kDisableAccessorySuggestionView, 1558 autofill::switches::kDisableAccessorySuggestionView,
1559 autofill::switches::kEnableAccessorySuggestionView, 1559 autofill::switches::kEnableAccessorySuggestionView,
1560 #endif 1560 #endif
1561 autofill::switches::kDisableFillOnAccountSelect,
1562 autofill::switches::kDisablePasswordGeneration, 1561 autofill::switches::kDisablePasswordGeneration,
1563 autofill::switches::kEnableFillOnAccountSelect,
1564 autofill::switches::kEnablePasswordGeneration, 1562 autofill::switches::kEnablePasswordGeneration,
1565 autofill::switches::kEnableSingleClickAutofill, 1563 autofill::switches::kEnableSingleClickAutofill,
1566 autofill::switches::kEnableSuggestionsWithSubstringMatch, 1564 autofill::switches::kEnableSuggestionsWithSubstringMatch,
1567 autofill::switches::kIgnoreAutocompleteOffForAutofill, 1565 autofill::switches::kIgnoreAutocompleteOffForAutofill,
1568 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, 1566 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration,
1569 #if defined(ENABLE_EXTENSIONS) 1567 #if defined(ENABLE_EXTENSIONS)
1570 extensions::switches::kAllowHTTPBackgroundPage, 1568 extensions::switches::kAllowHTTPBackgroundPage,
1571 extensions::switches::kAllowLegacyExtensionManifests, 1569 extensions::switches::kAllowLegacyExtensionManifests,
1572 extensions::switches::kEnableAppWindowControls, 1570 extensions::switches::kEnableAppWindowControls,
1573 extensions::switches::kEnableEmbeddedExtensionOptions, 1571 extensions::switches::kEnableEmbeddedExtensionOptions,
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
2958 if (channel <= kMaxDisableEncryptionChannel) { 2956 if (channel <= kMaxDisableEncryptionChannel) {
2959 static const char* const kWebRtcDevSwitchNames[] = { 2957 static const char* const kWebRtcDevSwitchNames[] = {
2960 switches::kDisableWebRtcEncryption, 2958 switches::kDisableWebRtcEncryption,
2961 }; 2959 };
2962 to_command_line->CopySwitchesFrom(from_command_line, 2960 to_command_line->CopySwitchesFrom(from_command_line,
2963 kWebRtcDevSwitchNames, 2961 kWebRtcDevSwitchNames,
2964 arraysize(kWebRtcDevSwitchNames)); 2962 arraysize(kWebRtcDevSwitchNames));
2965 } 2963 }
2966 } 2964 }
2967 #endif // defined(ENABLE_WEBRTC) 2965 #endif // defined(ENABLE_WEBRTC)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698