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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/chromeos/login/supervised_user_manager.h" | 10 #include "chrome/browser/chromeos/login/supervised_user_manager.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 virtual void SetCreationTransactionUserId(const std::string& user_id) | 38 virtual void SetCreationTransactionUserId(const std::string& user_id) |
39 OVERRIDE {} | 39 OVERRIDE {} |
40 virtual void CommitCreationTransaction() OVERRIDE {} | 40 virtual void CommitCreationTransaction() OVERRIDE {} |
41 virtual SupervisedUserAuthentication* GetAuthentication() OVERRIDE; | 41 virtual SupervisedUserAuthentication* GetAuthentication() OVERRIDE; |
42 virtual void GetPasswordInformation( | 42 virtual void GetPasswordInformation( |
43 const std::string& user_id, | 43 const std::string& user_id, |
44 base::DictionaryValue* result) OVERRIDE {} | 44 base::DictionaryValue* result) OVERRIDE {} |
45 virtual void SetPasswordInformation( | 45 virtual void SetPasswordInformation( |
46 const std::string& user_id, | 46 const std::string& user_id, |
47 const base::DictionaryValue* password_info) OVERRIDE {} | 47 const base::DictionaryValue* password_info) OVERRIDE {} |
| 48 virtual void LoadSupervisedUserToken( |
| 49 Profile * profile, |
| 50 const LoadTokenCallback& callback) OVERRIDE; |
| 51 virtual void ConfigureSyncWithToken( |
| 52 Profile* profile, |
| 53 const std::string& token) OVERRIDE {} |
48 | 54 |
49 private: | 55 private: |
50 DISALLOW_COPY_AND_ASSIGN(FakeSupervisedUserManager); | 56 DISALLOW_COPY_AND_ASSIGN(FakeSupervisedUserManager); |
51 }; | 57 }; |
52 | 58 |
53 } // namespace chromeos | 59 } // namespace chromeos |
54 | 60 |
55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ | 61 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_SUPERVISED_USER_MANAGER_H_ |
OLD | NEW |