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

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

Issue 216493003: Abstract most Profile knowledge from SigninManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix after rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « components/signin/core/common/signin_pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // String the identifies the last user that logged into sync and other 9 // String the identifies the last user that logged into sync and other
10 // google services. As opposed to kGoogleServicesUsername, this value is not 10 // google services. As opposed to kGoogleServicesUsername, this value is not
11 // cleared on signout, but while the user is signed in the two values will 11 // cleared on signout, but while the user is signed in the two values will
12 // be the same. 12 // be the same.
13 const char kGoogleServicesLastUsername[] = "google.services.last_username"; 13 const char kGoogleServicesLastUsername[] = "google.services.last_username";
14 14
15 // Obfuscated account ID that identifies the current user logged into sync and 15 // Obfuscated account ID that identifies the current user logged into sync and
16 // other google services. 16 // other google services.
17 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; 17 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id";
18 18
19 // String that identifies the current user logged into sync and other google 19 // String that identifies the current user logged into sync and other google
20 // services. 20 // services.
21 const char kGoogleServicesUsername[] = "google.services.username"; 21 const char kGoogleServicesUsername[] = "google.services.username";
22 22
23 // Local state pref containing a string regex that restricts which accounts
24 // can be used to log in to chrome (e.g. "*@google.com"). If missing or blank,
25 // all accounts are allowed (no restrictions).
26 const char kGoogleServicesUsernamePattern[] =
27 "google.services.username_pattern";
28
23 // Boolean which stores if the user is allowed to signin to chrome. 29 // Boolean which stores if the user is allowed to signin to chrome.
24 const char kSigninAllowed[] = "signin.allowed"; 30 const char kSigninAllowed[] = "signin.allowed";
25 31
26 } // namespace prefs 32 } // namespace prefs
OLDNEW
« no previous file with comments | « components/signin/core/common/signin_pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698