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

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: Rebased 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 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 SINGLE_VALUE_TYPE(switches::kDebugPackedApps) 1209 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)
1210 }, 1210 },
1211 { 1211 {
1212 "enable-password-generation", 1212 "enable-password-generation",
1213 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME, 1213 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_NAME,
1214 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION, 1214 IDS_FLAGS_ENABLE_PASSWORD_GENERATION_DESCRIPTION,
1215 kOsDesktop, 1215 kOsDesktop,
1216 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration) 1216 SINGLE_VALUE_TYPE(switches::kEnablePasswordGeneration)
1217 }, 1217 },
1218 { 1218 {
1219 "enable-password-autofill-public-suffix-domain-matching",
1220 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_NAME,
1221 IDS_FLAGS_ENABLE_PASSWORD_AUTOFILL_PUBLIC_SUFFIX_DOMAIN_MATCHING_DESCRIPTION ,
1222 kOsAndroid,
1223 SINGLE_VALUE_TYPE(
1224 switches::kEnablePasswordAutofillPublicSuffixDomainMatching)
1225 },
1226 {
1219 "enable-deferred-image-decoding", 1227 "enable-deferred-image-decoding",
1220 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME, 1228 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_NAME,
1221 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION, 1229 IDS_FLAGS_ENABLE_DEFERRED_IMAGE_DECODING_DESCRIPTION,
1222 kOsMac | kOsLinux | kOsCrOS, 1230 kOsMac | kOsLinux | kOsCrOS,
1223 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding) 1231 SINGLE_VALUE_TYPE(switches::kEnableDeferredImageDecoding)
1224 }, 1232 },
1225 { 1233 {
1226 "performance-monitor-gathering", 1234 "performance-monitor-gathering",
1227 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME, 1235 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_NAME,
1228 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION, 1236 IDS_FLAGS_PERFORMANCE_MONITOR_GATHERING_DESCRIPTION,
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
2015 } 2023 }
2016 2024
2017 const Experiment* GetExperiments(size_t* count) { 2025 const Experiment* GetExperiments(size_t* count) {
2018 *count = num_experiments; 2026 *count = num_experiments;
2019 return experiments; 2027 return experiments;
2020 } 2028 }
2021 2029
2022 } // namespace testing 2030 } // namespace testing
2023 2031
2024 } // namespace about_flags 2032 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698