| 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "chrome/browser/chromeos/login/auth/authenticator.h" | 9 #include "chrome/browser/chromeos/login/auth/authenticator.h" |
| 10 #include "chrome/browser/chromeos/login/auth/user_context.h" | 10 #include "chrome/browser/chromeos/login/auth/user_context.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 bool has_cookies, | 31 bool has_cookies, |
| 32 bool has_active_session, | 32 bool has_active_session, |
| 33 Delegate* delegate) OVERRIDE; | 33 Delegate* delegate) OVERRIDE; |
| 34 virtual void DelegateDeleted(Delegate* delegate) OVERRIDE; | 34 virtual void DelegateDeleted(Delegate* delegate) OVERRIDE; |
| 35 virtual void CompleteOffTheRecordLogin(const GURL& start_url) OVERRIDE {} | 35 virtual void CompleteOffTheRecordLogin(const GURL& start_url) OVERRIDE {} |
| 36 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} | 36 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} |
| 37 virtual scoped_refptr<Authenticator> CreateAuthenticator( | 37 virtual scoped_refptr<Authenticator> CreateAuthenticator( |
| 38 LoginStatusConsumer* consumer) OVERRIDE; | 38 LoginStatusConsumer* consumer) OVERRIDE; |
| 39 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} | 39 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} |
| 40 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; | 40 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; |
| 41 virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile) OVERRIDE; |
| 41 | 42 |
| 42 private: | 43 private: |
| 43 UserContext expected_user_context_; | 44 UserContext expected_user_context_; |
| 44 | 45 |
| 45 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); | 46 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 } // namespace chromeos | 49 } // namespace chromeos |
| 49 | 50 |
| 50 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ | 51 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ |
| OLD | NEW |