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

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

Issue 1140043003: Add a flag for the password manager force-saving experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the required experiment metric. Created 5 years, 7 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/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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 password_manager::switches::kEnableAutomaticPasswordSaving) 1138 password_manager::switches::kEnableAutomaticPasswordSaving)
1139 }, 1139 },
1140 { 1140 {
1141 "password-manager-reauthentication", 1141 "password-manager-reauthentication",
1142 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_NAME, 1142 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_NAME,
1143 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_DESCRIPTION, 1143 IDS_FLAGS_PASSWORD_MANAGER_REAUTHENTICATION_DESCRIPTION,
1144 kOsMac | kOsWin, 1144 kOsMac | kOsWin,
1145 SINGLE_VALUE_TYPE(switches::kDisablePasswordManagerReauthentication) 1145 SINGLE_VALUE_TYPE(switches::kDisablePasswordManagerReauthentication)
1146 }, 1146 },
1147 { 1147 {
1148 "enable-password-force-saving",
1149 IDS_FLAGS_ENABLE_PASSWORD_FORCE_SAVING_NAME,
1150 IDS_FLAGS_ENABLE_PASSWORD_FORCE_SAVING_DESCRIPTION,
1151 kOsAll,
1152 SINGLE_VALUE_TYPE(
1153 password_manager::switches::kEnablePasswordForceSaving)
1154 },
1155 {
1148 "enable-password-link", 1156 "enable-password-link",
1149 IDS_FLAGS_PASSWORD_MANAGER_LINK_NAME, 1157 IDS_FLAGS_PASSWORD_MANAGER_LINK_NAME,
1150 IDS_FLAGS_PASSWORD_MANAGER_LINK_DESCRIPTION, 1158 IDS_FLAGS_PASSWORD_MANAGER_LINK_DESCRIPTION,
1151 kOsAndroid | kOsDesktop, 1159 kOsAndroid | kOsDesktop,
1152 ENABLE_DISABLE_VALUE_TYPE( 1160 ENABLE_DISABLE_VALUE_TYPE(
1153 password_manager::switches::kEnablePasswordLink, 1161 password_manager::switches::kEnablePasswordLink,
1154 password_manager::switches::kDisablePasswordLink) 1162 password_manager::switches::kDisablePasswordLink)
1155 }, 1163 },
1156 { 1164 {
1157 "enable-password-save-in-page-navigation", 1165 "enable-password-save-in-page-navigation",
(...skipping 1819 matching lines...) Expand 10 before | Expand all | Expand 10 after
2977 } 2985 }
2978 2986
2979 const Experiment* GetExperiments(size_t* count) { 2987 const Experiment* GetExperiments(size_t* count) {
2980 *count = num_experiments; 2988 *count = num_experiments;
2981 return experiments; 2989 return experiments;
2982 } 2990 }
2983 2991
2984 } // namespace testing 2992 } // namespace testing
2985 2993
2986 } // namespace about_flags 2994 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/password_manager/core/common/experiments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698