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

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

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle a null in unit tests Created 6 years, 3 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 // An integer property indicating the state of account id migration from 9 // An integer property indicating the state of account id migration from
10 // email to gaia id for the the profile. See account_tracker_service.h 10 // email to gaia id for the the profile. See account_tracker_service.h
11 // for possible values. 11 // for possible values.
12 const char kAccountIdMigrationState[] = "account_id_migration_state"; 12 const char kAccountIdMigrationState[] = "account_id_migration_state";
13 13
14 // Boolean identifying whether reverse auto-login is enabled. 14 // Boolean identifying whether reverse auto-login is enabled.
15 const char kAutologinEnabled[] = "autologin.enabled"; 15 const char kAutologinEnabled[] = "autologin.enabled";
16 16
17 // A string of profile's hosted domain; empty if there is no HD.
msw 2014/09/19 21:47:40 nit: "The profile's hosted domain; empty if there
Mike Lerman 2014/09/21 00:19:36 Done with a modification that explains this better
18 const char kGoogleServicesHostedDomain[] = "google.services.hosted_domain";
19
17 // String the identifies the last user that logged into sync and other 20 // String the identifies the last user that logged into sync and other
18 // google services. As opposed to kGoogleServicesUsername, this value is not 21 // google services. As opposed to kGoogleServicesUsername, this value is not
19 // cleared on signout, but while the user is signed in the two values will 22 // cleared on signout, but while the user is signed in the two values will
20 // be the same. 23 // be the same.
21 const char kGoogleServicesLastUsername[] = "google.services.last_username"; 24 const char kGoogleServicesLastUsername[] = "google.services.last_username";
22 25
23 // Obfuscated account ID that identifies the current user logged into sync and 26 // Obfuscated account ID that identifies the current user logged into sync and
24 // other google services. 27 // other google services.
25 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; 28 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id";
26 29
(...skipping 22 matching lines...) Expand all
49 "reverse_autologin.rejected_email_list"; 52 "reverse_autologin.rejected_email_list";
50 53
51 // Int64 which tracks, as time from epoch, when last time the user signed in 54 // Int64 which tracks, as time from epoch, when last time the user signed in
52 // to the browser. 55 // to the browser.
53 const char kSignedInTime[] = "signin.signedin_time"; 56 const char kSignedInTime[] = "signin.signedin_time";
54 57
55 // Boolean which stores if the user is allowed to signin to chrome. 58 // Boolean which stores if the user is allowed to signin to chrome.
56 const char kSigninAllowed[] = "signin.allowed"; 59 const char kSigninAllowed[] = "signin.allowed";
57 60
58 } // namespace prefs 61 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698