| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_MOCK_AUTHENTICATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 virtual void SetFirstLoginPrefs(PrefService* prefs) {} | 103 virtual void SetFirstLoginPrefs(PrefService* prefs) {} |
| 104 | 104 |
| 105 virtual scoped_refptr<Authenticator> CreateAuthenticator( | 105 virtual scoped_refptr<Authenticator> CreateAuthenticator( |
| 106 LoginStatusConsumer* consumer); | 106 LoginStatusConsumer* consumer); |
| 107 | 107 |
| 108 virtual void PrewarmAuthentication() {} | 108 virtual void PrewarmAuthentication() {} |
| 109 | 109 |
| 110 virtual void RestoreAuthenticationSession(const std::string& user_name, | 110 virtual void RestoreAuthenticationSession(const std::string& user_name, |
| 111 Profile* profile) {} | 111 Profile* profile) {} |
| 112 | 112 |
| 113 virtual void FetchCookies( | |
| 114 Profile* profile, | |
| 115 const GaiaAuthConsumer::ClientLoginResult& credentials) {} | |
| 116 | |
| 117 virtual void StartTokenServices(Profile* profile) {} | 113 virtual void StartTokenServices(Profile* profile) {} |
| 118 | 114 |
| 119 virtual void StartSync( | 115 virtual void StartSync( |
| 120 Profile* profile, | 116 Profile* profile, |
| 121 const GaiaAuthConsumer::ClientLoginResult& credentials) {} | 117 const GaiaAuthConsumer::ClientLoginResult& credentials) {} |
| 122 | 118 |
| 123 virtual void SetBackgroundView(BackgroundView* background_view); | 119 virtual void SetBackgroundView(BackgroundView* background_view); |
| 124 | 120 |
| 125 virtual BackgroundView* GetBackgroundView(); | 121 virtual BackgroundView* GetBackgroundView(); |
| 126 | 122 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 140 std::string expected_password_; | 136 std::string expected_password_; |
| 141 std::string auth_token_; | 137 std::string auth_token_; |
| 142 chromeos::BackgroundView* background_view_; | 138 chromeos::BackgroundView* background_view_; |
| 143 | 139 |
| 144 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); | 140 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); |
| 145 }; | 141 }; |
| 146 | 142 |
| 147 } // namespace chromeos | 143 } // namespace chromeos |
| 148 | 144 |
| 149 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ | 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |
| OLD | NEW |