| 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 // 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 |
| 16 // other google services. |
| 17 const char kGoogleServicesUserAccountId[] = "google.services.user_account_id"; |
| 18 |
| 15 // 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 |
| 16 // services. | 20 // services. |
| 17 const char kGoogleServicesUsername[] = "google.services.username"; | 21 const char kGoogleServicesUsername[] = "google.services.username"; |
| 18 | 22 |
| 19 // Boolean which stores if the user is allowed to signin to chrome. | 23 // Boolean which stores if the user is allowed to signin to chrome. |
| 20 const char kSigninAllowed[] = "signin.allowed"; | 24 const char kSigninAllowed[] = "signin.allowed"; |
| 21 | 25 |
| 22 } // namespace prefs | 26 } // namespace prefs |
| OLD | NEW |