OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mock_user_manager.h" | 5 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/login/fake_supervised_user_manager.h" | 7 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 | 10 |
11 MockUserManager::MockUserManager() | 11 MockUserManager::MockUserManager() |
12 : user_flow_(new DefaultUserFlow()), | 12 : user_flow_(new DefaultUserFlow()), |
13 supervised_user_manager_(new FakeSupervisedUserManager()) {} | 13 supervised_user_manager_(new FakeSupervisedUserManager()) {} |
14 | 14 |
15 MockUserManager::~MockUserManager() { | 15 MockUserManager::~MockUserManager() { |
16 ClearUserList(); | 16 ClearUserList(); |
17 } | 17 } |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 } | 98 } |
99 | 99 |
100 bool MockUserManager::RespectLocalePreference( | 100 bool MockUserManager::RespectLocalePreference( |
101 Profile* profile, | 101 Profile* profile, |
102 const User* user, | 102 const User* user, |
103 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const { | 103 scoped_ptr<locale_util::SwitchLanguageCallback> callback) const { |
104 return false; | 104 return false; |
105 } | 105 } |
106 | 106 |
107 } // namespace chromeos | 107 } // namespace chromeos |
OLD | NEW |