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

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

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated regexp, sanitized result, escaped form domain and added comments. Created 7 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 | 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/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 SINGLE_VALUE_TYPE(switches::kDebugPackedApps) 1225 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)
1226 }, 1226 },
1227 { 1227 {
1228 "enable-password-generation", 1228 "enable-password-generation",
1229 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME, 1229 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME,
1230 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION, 1230 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION,
1231 kOsDesktop, 1231 kOsDesktop,
1232 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration) 1232 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration)
1233 }, 1233 },
1234 { 1234 {
1235 "enable-password-autofill-psl-domain-matching",
1236 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PSL_DOMAIN_MATCHING_NAME,
1237 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PSL_DOMAIN_MATCHING_DESCRIPTION,
1238 kOsAll,
palmer 2013/06/06 21:16:42 Shouldn't this be Android-only?
nyquist 2013/06/07 22:51:10 Done.
1239 SINGLE_VALUE_TYPE(switches::kEnablePasswordAutofillPSLDomainMatching)
1240 },
1241 {
1235 "enable-deferred-image-decoding", 1242 "enable-deferred-image-decoding",
1236 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME, 1243 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME,
1237 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION, 1244 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION,
1238 kOsMac | kOsLinux | kOsCrOS, 1245 kOsMac | kOsLinux | kOsCrOS,
1239 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding) 1246 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1240 }, 1247 },
1241 { 1248 {
1242 "performance-monitor-gathering", 1249 "performance-monitor-gathering",
1243 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME, 1250 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME,
1244 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION, 1251 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION,
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2020 } 2027 }
2021 2028
2022 const Experiment* GetExperiments(size_t* count) { 2029 const Experiment* GetExperiments(size_t* count) {
2023 *count = num_experiments; 2030 *count = num_experiments;
2024 return experiments; 2031 return experiments;
2025 } 2032 }
2026 2033
2027 } // namespace testing 2034 } // namespace testing
2028 2035
2029 } // namespace about_flags 2036 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698