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

Side by Side Diff: components/signin/core/common/signin_pref_names.cc

Issue 362613002: Implementation of SigninClient::GetSigninScopedDeviceId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes after feedback from Roger. Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/signin/core/common/signin_pref_names.h" 5 #include "components/signin/core/common/signin_pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // Boolean identifying whether reverse auto-login is enabled. 9 // Boolean identifying whether reverse auto-login is enabled.
10 const char kAutologinEnabled[] = "autologin.enabled"; 10 const char kAutologinEnabled[] = "autologin.enabled";
11 11
12 // String the identifies the last user that logged into sync and other 12 // String the identifies the last user that logged into sync and other
13 // google services. As opposed to kGoogleServicesUsername, this value is not 13 // google services. As opposed to kGoogleServicesUsername, this value is not
14 // cleared on signout, but while the user is signed in the two values will 14 // cleared on signout, but while the user is signed in the two values will
15 // be the same. 15 // be the same.
16 const char kGoogleServicesLastUsername[] = "google.services.last_username"; 16 const char kGoogleServicesLastUsername[] = "google.services.last_username";
17 17
18 // Obfuscated account ID that identifies the current user logged into sync and 18 // Obfuscated account ID that identifies the current user logged into sync and
19 // other google services. 19 // other google services.
20 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; 20 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id";
21 21
22 // String that identifies the current user logged into sync and other google 22 // String that identifies the current user logged into sync and other google
23 // services. 23 // services.
24 const char kGoogleServicesUsername[] = "google.services.username"; 24 const char kGoogleServicesUsername[] = "google.services.username";
25 25
26 // Device id scoped to single signin. This device id will be regenerated if user
27 // signs out and signs back in. When refresh token is requested for this user it
28 // will be annotated with this device id.
29 const char kGoogleServicesSigninScopedDeviceId[] =
30 "google.services.signin_scoped_device_id";
31
26 // Local state pref containing a string regex that restricts which accounts 32 // Local state pref containing a string regex that restricts which accounts
27 // can be used to log in to chrome (e.g. "*@google.com"). If missing or blank, 33 // can be used to log in to chrome (e.g. "*@google.com"). If missing or blank,
28 // all accounts are allowed (no restrictions). 34 // all accounts are allowed (no restrictions).
29 const char kGoogleServicesUsernamePattern[] = 35 const char kGoogleServicesUsernamePattern[] =
30 "google.services.username_pattern"; 36 "google.services.username_pattern";
31 37
32 // Boolean identifying whether reverse auto-logins is enabled. 38 // Boolean identifying whether reverse auto-logins is enabled.
33 const char kReverseAutologinEnabled[] = "reverse_autologin.enabled"; 39 const char kReverseAutologinEnabled[] = "reverse_autologin.enabled";
34 40
35 // List to keep track of emails for which the user has rejected one-click 41 // List to keep track of emails for which the user has rejected one-click
36 // sign-in. 42 // sign-in.
37 const char kReverseAutologinRejectedEmailList[] = 43 const char kReverseAutologinRejectedEmailList[] =
38 "reverse_autologin.rejected_email_list"; 44 "reverse_autologin.rejected_email_list";
39 45
40 // Boolean which stores if the user is allowed to signin to chrome. 46 // Boolean which stores if the user is allowed to signin to chrome.
41 const char kSigninAllowed[] = "signin.allowed"; 47 const char kSigninAllowed[] = "signin.allowed";
42 48
43 } // namespace prefs 49 } // namespace prefs
OLDNEW
« no previous file with comments | « components/signin/core/common/signin_pref_names.h ('k') | components/signin/core/common/signin_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698