OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/fake_supervised_user_manager.h" | 5 #include "chrome/browser/chromeos/login/fake_supervised_user_manager.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 std::string FakeSupervisedUserManager::GetManagerDisplayEmail( | 53 std::string FakeSupervisedUserManager::GetManagerDisplayEmail( |
54 const std::string& managed_user_id) const { | 54 const std::string& managed_user_id) const { |
55 return std::string(); | 55 return std::string(); |
56 } | 56 } |
57 | 57 |
58 SupervisedUserAuthentication* FakeSupervisedUserManager::GetAuthentication() { | 58 SupervisedUserAuthentication* FakeSupervisedUserManager::GetAuthentication() { |
59 return NULL; | 59 return NULL; |
60 } | 60 } |
61 | 61 |
| 62 void FakeSupervisedUserManager::LoadSupervisedUserToken( |
| 63 Profile * profile, |
| 64 const LoadTokenCallback& callback) { |
| 65 callback.Run("token"); |
| 66 } |
| 67 |
62 } // namespace chromeos | 68 } // namespace chromeos |
OLD | NEW |