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

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: accidently removed files Created 5 years, 9 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 | « chrome/common/pref_names.h ('k') | components/proximity_auth.gypi » ('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/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 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 // Maps from app ids to origin + Service Worker registration ID. 1213 // Maps from app ids to origin + Service Worker registration ID.
1214 const char kPushMessagingApplicationIdMap[] = 1214 const char kPushMessagingApplicationIdMap[] =
1215 "gcm.push_messaging_application_id_map"; 1215 "gcm.push_messaging_application_id_map";
1216 1216
1217 // Whether a user is allowed to use Easy Unlock. 1217 // Whether a user is allowed to use Easy Unlock.
1218 const char kEasyUnlockAllowed[] = "easy_unlock.allowed"; 1218 const char kEasyUnlockAllowed[] = "easy_unlock.allowed";
1219 1219
1220 // Whether Easy Unlock is enabled. 1220 // Whether Easy Unlock is enabled.
1221 const char kEasyUnlockEnabled[] = "easy_unlock.enabled"; 1221 const char kEasyUnlockEnabled[] = "easy_unlock.enabled";
1222 1222
1223 // A dictionary in local state containing each user's Easy Unlock profile
1224 // preferences, so they can be accessed outside of the user's profile. The value
1225 // is a dictionary containing an entry for each user. Each user's entry mirrors
1226 // their profile's Easy Unlock preferences.
1227 const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
1228
1229 // Preference storing Easy Unlock pairing data. 1223 // Preference storing Easy Unlock pairing data.
1230 const char kEasyUnlockPairing[] = "easy_unlock.pairing"; 1224 const char kEasyUnlockPairing[] = "easy_unlock.pairing";
1231 1225
1232 // Whether close proximity between the remote and the local device is required 1226 // Whether close proximity between the remote and the local device is required
1233 // in order to use Easy Unlock. 1227 // in order to use Easy Unlock.
1234 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required"; 1228 const char kEasyUnlockProximityRequired[] = "easy_unlock.proximity_required";
1235 1229
1236 // Whether to show the Easy Unlock first run tutorial. 1230 // Whether to show the Easy Unlock first run tutorial.
1237 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial"; 1231 const char kEasyUnlockShowTutorial[] = "easy_unlock.show_tutorial";
1238 1232
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 2254
2261 // Whether DNS Quick Check is disabled in proxy resolution. 2255 // Whether DNS Quick Check is disabled in proxy resolution.
2262 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2256 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2263 2257
2264 // Whether Guest Mode is enabled within the browser. 2258 // Whether Guest Mode is enabled within the browser.
2265 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2259 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2266 2260
2267 // Whether Adding a new Person is enabled within the user manager. 2261 // Whether Adding a new Person is enabled within the user manager.
2268 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2262 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2269 2263
2264 // Device identifier used by Easy Unlock stored in local state. This id will be
2265 // combined with a user id, before being registered with the CryptAuth server,
2266 // so it can't correlate users on the same device.
2267 extern const char kEasyUnlockDeviceId[] = "easy_unlock.device_id";
2268
2270 // A dictionary that maps user id to hardlock state. 2269 // A dictionary that maps user id to hardlock state.
2271 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state"; 2270 const char kEasyUnlockHardlockState[] = "easy_unlock.hardlock_state";
2272 2271
2273 // A dictionary that maps user id to public part of RSA key pair used by 2272 // A dictionary that maps user id to public part of RSA key pair used by
2274 // Easy Sign-in for the user. 2273 // Easy Sign-in for the user.
2275 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys"; 2274 const char kEasyUnlockLocalStateTpmKeys[] = "easy_unlock.public_tpm_keys";
2276 2275
2276 // A dictionary in local state containing each user's Easy Unlock profile
2277 // preferences, so they can be accessed outside of the user's profile. The value
2278 // is a dictionary containing an entry for each user. Each user's entry mirrors
2279 // their profile's Easy Unlock preferences.
2280 const char kEasyUnlockLocalStateUserPrefs[] = "easy_unlock.user_prefs";
2281
2277 // The beginning of time span when we count user's "Nope" for the password 2282 // The beginning of time span when we count user's "Nope" for the password
2278 // bubble. 2283 // bubble.
2279 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp"; 2284 const char kPasswordBubbleTimeStamp[] = "password_bubble.timestamp";
2280 2285
2281 // The count of user's "Nope" for the password bubble. 2286 // The count of user's "Nope" for the password bubble.
2282 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2287 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2283 2288
2284 // Last user's interaction with the password bubble. 2289 // Last user's interaction with the password bubble.
2285 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2290 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2286 2291
2287 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. 2292 // Boolean that indicates whether elevation is needed to recover Chrome upgrade.
2288 const char kRecoveryComponentNeedsElevation[] = 2293 const char kRecoveryComponentNeedsElevation[] =
2289 "recovery_component.needs_elevation"; 2294 "recovery_component.needs_elevation";
2290 2295
2291 // A dictionary that maps from supervised user whitelist IDs to their properties 2296 // A dictionary that maps from supervised user whitelist IDs to their properties
2292 // (name and a list of clients that registered the whitelist). 2297 // (name and a list of clients that registered the whitelist).
2293 const char kRegisteredSupervisedUserWhitelists[] = 2298 const char kRegisteredSupervisedUserWhitelists[] =
2294 "supervised_users.whitelists"; 2299 "supervised_users.whitelists";
2295 2300
2296 #if defined(ENABLE_EXTENSIONS) 2301 #if defined(ENABLE_EXTENSIONS)
2297 // Policy that indicates how to handle animated images. 2302 // Policy that indicates how to handle animated images.
2298 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2303 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2299 #endif 2304 #endif
2300 2305
2301 } // namespace prefs 2306 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/proximity_auth.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698