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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {} | 101 virtual void CompleteOffTheRecordLogin(const GURL& start_url) {} |
102 | 102 |
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, | |
111 Profile* profile) {} | |
112 | |
113 virtual void FetchCookies( | 110 virtual void FetchCookies( |
114 Profile* profile, | 111 Profile* profile, |
115 const GaiaAuthConsumer::ClientLoginResult& credentials) {} | 112 const GaiaAuthConsumer::ClientLoginResult& credentials) {} |
116 | 113 |
117 virtual void StartTokenServices(Profile* profile) {} | 114 virtual void StartTokenServices(Profile* profile) {} |
118 | 115 |
119 virtual void StartSync( | 116 virtual void StartSync( |
120 Profile* profile, | 117 Profile* profile, |
121 const GaiaAuthConsumer::ClientLoginResult& credentials) {} | 118 const GaiaAuthConsumer::ClientLoginResult& credentials) {} |
122 | 119 |
(...skipping 17 matching lines...) Expand all Loading... |
140 std::string expected_password_; | 137 std::string expected_password_; |
141 std::string auth_token_; | 138 std::string auth_token_; |
142 chromeos::BackgroundView* background_view_; | 139 chromeos::BackgroundView* background_view_; |
143 | 140 |
144 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); | 141 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); |
145 }; | 142 }; |
146 | 143 |
147 } // namespace chromeos | 144 } // namespace chromeos |
148 | 145 |
149 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ | 146 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |
OLD | NEW |