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

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: Addressed comments from palmer 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 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 SINGLE_VALUE_TYPE(switches::kDebugPackedApps) 1218 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)
1219 }, 1219 },
1220 { 1220 {
1221 "enable-password-generation", 1221 "enable-password-generation",
1222 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME, 1222 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME,
1223 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION, 1223 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION,
1224 kOsDesktop, 1224 kOsDesktop,
1225 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration) 1225 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration)
1226 }, 1226 },
1227 { 1227 {
1228 "enable-password-autofill-psl-domain-matching",
1229 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PSL_DOMAIN_MATCHING_NAME,
1230 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PSL_DOMAIN_MATCHING_DESCRIPTION,
1231 kOsAndroid,
1232 SINGLE_VALUE_TYPE(switches::kEnablePasswordAutofillPSLDomainMatching)
1233 },
1234 {
1228 "enable-deferred-image-decoding", 1235 "enable-deferred-image-decoding",
1229 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME, 1236 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME,
1230 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION, 1237 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION,
1231 kOsMac | kOsLinux | kOsCrOS, 1238 kOsMac | kOsLinux | kOsCrOS,
1232 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding) 1239 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1233 }, 1240 },
1234 { 1241 {
1235 "performance-monitor-gathering", 1242 "performance-monitor-gathering",
1236 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME, 1243 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME,
1237 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION, 1244 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION,
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
2013 } 2020 }
2014 2021
2015 const Experiment* GetExperiments(size_t* count) { 2022 const Experiment* GetExperiments(size_t* count) {
2016 *count = num_experiments; 2023 *count = num_experiments;
2017 return experiments; 2024 return experiments;
2018 } 2025 }
2019 2026
2020 } // namespace testing 2027 } // namespace testing
2021 2028
2022 } // namespace about_flags 2029 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698