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

Side by Side Diff: chrome/common/pref_names.cc

Issue 877033005: Use a stable device-user identifier for CryptAuth enrollments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 // How many Service Workers are registered with the Push API (could be zero). 1209 // How many Service Workers are registered with the Push API (could be zero).
1210 const char kPushMessagingRegistrationCount[] = 1210 const char kPushMessagingRegistrationCount[] =
1211 "gcm.push_messaging_registration_count"; 1211 "gcm.push_messaging_registration_count";
1212 1212
1213 // Whether a user is allowed to use Easy Unlock. 1213 // Whether a user is allowed to use Easy Unlock.
1214 const char kEasyUnlockAllowed[] = "easy_unlock.allowed"; 1214 const char kEasyUnlockAllowed[] = "easy_unlock.allowed";
1215 1215
1216 // Whether Easy Unlock is enabled. 1216 // Whether Easy Unlock is enabled.
1217 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; 1217 const char kEasyUnlockEnabled[] = "easy_unlock.enabled";
1218 1218
1219 // A dictionary in local state containing each user's Easy Unlock profile
1220 // preferences, so they can be accessed outside of the user's profile. The value
1221 // is a dictionary containing an entry for each user. Each user's entry mirrors
1222 // their profile's Easy Unlock preferences.
1223 const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
1224
1225 // Preference storing Easy Unlock pairing data. 1219 // Preference storing Easy Unlock pairing data.
1226 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; 1220 const char kEasyUnlockPairing[] = "easy_unlock.pairing";
1227 1221
1228 // Whether close proximity between the remote and the local device is required 1222 // Whether close proximity between the remote and the local device is required
1229 // in order to use Easy Unlock. 1223 // in order to use Easy Unlock.
1230 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; 1224 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required";
1231 1225
1232 // Whether to show the Easy Unlock first run tutorial. 1226 // Whether to show the Easy Unlock first run tutorial.
1233 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial"; 1227 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial";
1234 1228
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 2247
2254 // Whether DNS Quick Check is disabled in proxy resolution. 2248 // Whether DNS Quick Check is disabled in proxy resolution.
2255 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2249 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2256 2250
2257 // Whether Guest Mode is enabled within the browser. 2251 // Whether Guest Mode is enabled within the browser.
2258 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2252 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2259 2253
2260 // Whether Adding a new Person is enabled within the user manager. 2254 // Whether Adding a new Person is enabled within the user manager.
2261 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2255 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2262 2256
2257 // Device ID registered with CryptAuth stored in local state.
Ilya Sherman 2015/02/10 01:31:05 The device id isn't directly reported to CryptAuth
Tim Song 2015/02/10 22:20:33 Done.
2258 extern const char kEasyUnlockDeviceId[] = "easy_unlock.device_id";
2259
2263 // A dictionary that maps user id to hardlock state. 2260 // A dictionary that maps user id to hardlock state.
2264 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2261 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2265 2262
2266 // A dictionary that maps user id to public part of RSA key pair used by 2263 // A dictionary that maps user id to public part of RSA key pair used by
2267 // Easy Sign-in for the user. 2264 // Easy Sign-in for the user.
2268 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys"; 2265 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys";
2269 2266
2267 // A dictionary in local state containing each user's Easy Unlock profile
2268 // preferences, so they can be accessed outside of the user's profile. The value
2269 // is a dictionary containing an entry for each user. Each user's entry mirrors
2270 // their profile's Easy Unlock preferences.
2271 const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
2272
2270 // The beginning of time span when we count user's "Nope" for the password 2273 // The beginning of time span when we count user's "Nope" for the password
2271 // bubble. 2274 // bubble.
2272 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp"; 2275 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp";
2273 2276
2274 // The count of user's "Nope" for the password bubble. 2277 // The count of user's "Nope" for the password bubble.
2275 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2278 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2276 2279
2277 // Last user's interaction with the password bubble. 2280 // Last user's interaction with the password bubble.
2278 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2281 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2279 2282
2280 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. 2283 // Boolean that indicates whether elevation is needed to recover Chrome upgrade.
2281 const char kRecoveryComponentNeedsElevation[] = 2284 const char kRecoveryComponentNeedsElevation[] =
2282 "recovery_component.needs_elevation"; 2285 "recovery_component.needs_elevation";
2283 2286
2284 } // namespace prefs 2287 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698