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 "chrome/browser/chromeos/login/users/fake_user_manager.h" | 5 #include "chrome/browser/chromeos/login/users/fake_user_manager.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" | 7 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" |
8 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 8 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 9 #include "chrome/grit/theme_resources.h" |
9 #include "components/user_manager/user_image/user_image.h" | 10 #include "components/user_manager/user_image/user_image.h" |
10 #include "components/user_manager/user_type.h" | 11 #include "components/user_manager/user_type.h" |
11 #include "grit/theme_resources.h" | |
12 #include "ui/base/resource/resource_bundle.h" | 12 #include "ui/base/resource/resource_bundle.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 // As defined in /chromeos/dbus/cryptohome_client.cc. | 16 // As defined in /chromeos/dbus/cryptohome_client.cc. |
17 static const char kUserIdHashSuffix[] = "-hash"; | 17 static const char kUserIdHashSuffix[] = "-hash"; |
18 | 18 |
19 } // namespace | 19 } // namespace |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 | 298 |
299 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const { | 299 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const { |
300 return NULL; | 300 return NULL; |
301 } | 301 } |
302 | 302 |
303 bool FakeUserManager::AreSupervisedUsersAllowed() const { | 303 bool FakeUserManager::AreSupervisedUsersAllowed() const { |
304 return true; | 304 return true; |
305 } | 305 } |
306 | 306 |
307 } // namespace chromeos | 307 } // namespace chromeos |
OLD | NEW |