| 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 #include "chromeos/login/user_names.h" | 4 #include "chromeos/login/user_names.h" |
| 5 | 5 |
| 6 #include "base/macros.h" |
| 6 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 7 #include "components/signin/core/account_id/account_id.h" | 8 #include "components/signin/core/account_id/account_id.h" |
| 8 #include "google_apis/gaia/gaia_auth_util.h" | 9 #include "google_apis/gaia/gaia_auth_util.h" |
| 9 | 10 |
| 10 class AccountId; | 11 class AccountId; |
| 11 | 12 |
| 12 namespace { | 13 namespace { |
| 13 | 14 |
| 14 // Username for Demo session user. | 15 // Username for Demo session user. |
| 15 constexpr const char kDemoUserName[] = "demouser@demo.app.local"; | 16 constexpr const char kDemoUserName[] = "demouser@demo.app.local"; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 return FixedAccountManager::GetInstance()->guest_account_id(); | 82 return FixedAccountManager::GetInstance()->guest_account_id(); |
| 82 } | 83 } |
| 83 | 84 |
| 84 const AccountId& DemoAccountId() { | 85 const AccountId& DemoAccountId() { |
| 85 return FixedAccountManager::GetInstance()->demo_account_id(); | 86 return FixedAccountManager::GetInstance()->demo_account_id(); |
| 86 } | 87 } |
| 87 | 88 |
| 88 } // namespace login | 89 } // namespace login |
| 89 | 90 |
| 90 } // namespace chromeos | 91 } // namespace chromeos |
| OLD | NEW |