OLD | NEW |
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 // The profile's hosted domain; empty if unset; Profile::kNoHostedDomainFound |
| 18 // if there is none. |
| 19 const char kGoogleServicesHostedDomain[] = "google.services.hosted_domain"; |
| 20 |
17 // String the identifies the last user that logged into sync and other | 21 // String the identifies the last user that logged into sync and other |
18 // google services. As opposed to kGoogleServicesUsername, this value is not | 22 // 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 | 23 // cleared on signout, but while the user is signed in the two values will |
20 // be the same. | 24 // be the same. |
21 const char kGoogleServicesLastUsername[] = "google.services.last_username"; | 25 const char kGoogleServicesLastUsername[] = "google.services.last_username"; |
22 | 26 |
23 // Obfuscated account ID that identifies the current user logged into sync and | 27 // Obfuscated account ID that identifies the current user logged into sync and |
24 // other google services. | 28 // other google services. |
25 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; | 29 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; |
26 | 30 |
(...skipping 22 matching lines...) Expand all Loading... |
49 "reverse_autologin.rejected_email_list"; | 53 "reverse_autologin.rejected_email_list"; |
50 | 54 |
51 // Int64 which tracks, as time from epoch, when last time the user signed in | 55 // Int64 which tracks, as time from epoch, when last time the user signed in |
52 // to the browser. | 56 // to the browser. |
53 const char kSignedInTime[] = "signin.signedin_time"; | 57 const char kSignedInTime[] = "signin.signedin_time"; |
54 | 58 |
55 // Boolean which stores if the user is allowed to signin to chrome. | 59 // Boolean which stores if the user is allowed to signin to chrome. |
56 const char kSigninAllowed[] = "signin.allowed"; | 60 const char kSigninAllowed[] = "signin.allowed"; |
57 | 61 |
58 } // namespace prefs | 62 } // namespace prefs |
OLD | NEW |