| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} | 41 virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} |
| 42 | 42 |
| 43 virtual scoped_refptr<Authenticator> CreateAuthenticator( | 43 virtual scoped_refptr<Authenticator> CreateAuthenticator( |
| 44 LoginStatusConsumer* consumer) OVERRIDE; | 44 LoginStatusConsumer* consumer) OVERRIDE; |
| 45 | 45 |
| 46 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} | 46 virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} |
| 47 | 47 |
| 48 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; | 48 virtual void InitRlzDelayed(Profile* user_profile) OVERRIDE; |
| 49 | 49 |
| 50 virtual void StopBackgroundFetchers() OVERRIDE; | |
| 51 | |
| 52 private: | 50 private: |
| 53 std::string expected_username_; | 51 std::string expected_username_; |
| 54 std::string expected_password_; | 52 std::string expected_password_; |
| 55 std::string auth_token_; | 53 std::string auth_token_; |
| 56 | 54 |
| 57 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); | 55 DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); |
| 58 }; | 56 }; |
| 59 | 57 |
| 60 } // namespace chromeos | 58 } // namespace chromeos |
| 61 | 59 |
| 62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ | 60 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_LOGIN_UTILS_H_ |
| OLD | NEW |