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

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

Issue 2409123002: Remove kEnablePasswordChangeSupport and clean-up form_autofill_util.cc (Closed)
Patch Set: Remove kEnablePasswordChangeSupport and clean-up form_autofill_util.cc Created 4 years, 2 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
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_autofill_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)}, 996 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)},
997 {"enable-password-generation", IDS_FLAGS_PASSWORD_GENERATION_NAME, 997 {"enable-password-generation", IDS_FLAGS_PASSWORD_GENERATION_NAME,
998 IDS_FLAGS_PASSWORD_GENERATION_DESCRIPTION, kOsAll, 998 IDS_FLAGS_PASSWORD_GENERATION_DESCRIPTION, kOsAll,
999 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnablePasswordGeneration, 999 ENABLE_DISABLE_VALUE_TYPE(autofill::switches::kEnablePasswordGeneration,
1000 autofill::switches::kDisablePasswordGeneration)}, 1000 autofill::switches::kDisablePasswordGeneration)},
1001 {"enable-automatic-password-saving", 1001 {"enable-automatic-password-saving",
1002 IDS_FLAGS_AUTOMATIC_PASSWORD_SAVING_NAME, 1002 IDS_FLAGS_AUTOMATIC_PASSWORD_SAVING_NAME,
1003 IDS_FLAGS_AUTOMATIC_PASSWORD_SAVING_DESCRIPTION, kOsDesktop, 1003 IDS_FLAGS_AUTOMATIC_PASSWORD_SAVING_DESCRIPTION, kOsDesktop,
1004 FEATURE_VALUE_TYPE( 1004 FEATURE_VALUE_TYPE(
1005 password_manager::features::kEnableAutomaticPasswordSaving)}, 1005 password_manager::features::kEnableAutomaticPasswordSaving)},
1006 {"enable-password-change-support", IDS_FLAGS_PASSWORD_CHANGE_SUPPORT_NAME,
1007 IDS_FLAGS_PASSWORD_CHANGE_SUPPORT_DESCRIPTION, kOsAndroid,
1008 FEATURE_VALUE_TYPE(
1009 password_manager::features::kEnablePasswordChangeSupport)},
1010 {"enable-password-force-saving", IDS_FLAGS_PASSWORD_FORCE_SAVING_NAME, 1006 {"enable-password-force-saving", IDS_FLAGS_PASSWORD_FORCE_SAVING_NAME,
1011 IDS_FLAGS_PASSWORD_FORCE_SAVING_DESCRIPTION, kOsAll, 1007 IDS_FLAGS_PASSWORD_FORCE_SAVING_DESCRIPTION, kOsAll,
1012 FEATURE_VALUE_TYPE( 1008 FEATURE_VALUE_TYPE(
1013 password_manager::features::kEnablePasswordForceSaving)}, 1009 password_manager::features::kEnablePasswordForceSaving)},
1014 {"enable-manual-password-generation", 1010 {"enable-manual-password-generation",
1015 IDS_FLAGS_MANUAL_PASSWORD_GENERATION_NAME, 1011 IDS_FLAGS_MANUAL_PASSWORD_GENERATION_NAME,
1016 IDS_FLAGS_MANUAL_PASSWORD_GENERATION_DESCRIPTION, kOsAll, 1012 IDS_FLAGS_MANUAL_PASSWORD_GENERATION_DESCRIPTION, kOsAll,
1017 FEATURE_VALUE_TYPE( 1013 FEATURE_VALUE_TYPE(
1018 password_manager::features::kEnableManualPasswordGeneration)}, 1014 password_manager::features::kEnableManualPasswordGeneration)},
1019 {"affiliation-based-matching", IDS_FLAGS_AFFILIATION_BASED_MATCHING_NAME, 1015 {"affiliation-based-matching", IDS_FLAGS_AFFILIATION_BASED_MATCHING_NAME,
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2262 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2267 2263
2268 const FeatureEntry* GetFeatureEntries(size_t* count) { 2264 const FeatureEntry* GetFeatureEntries(size_t* count) {
2269 *count = arraysize(kFeatureEntries); 2265 *count = arraysize(kFeatureEntries);
2270 return kFeatureEntries; 2266 return kFeatureEntries;
2271 } 2267 }
2272 2268
2273 } // namespace testing 2269 } // namespace testing
2274 2270
2275 } // namespace about_flags 2271 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698