Index: chrome/browser/chromeos/login/mock_authenticator.h |
diff --git a/chrome/browser/chromeos/login/mock_authenticator.h b/chrome/browser/chromeos/login/mock_authenticator.h |
index d08b9065b81d9e6a74c8edd07fdcf293097d5ca1..9215c32c497689f2015fc546a9c556f5e0415710 100644 |
--- a/chrome/browser/chromeos/login/mock_authenticator.h |
+++ b/chrome/browser/chromeos/login/mock_authenticator.h |
@@ -7,12 +7,7 @@ |
#include <string> |
-#include "base/compiler_specific.h" |
-#include "base/memory/ref_counted.h" |
#include "chrome/browser/chromeos/login/authenticator.h" |
-#include "chrome/browser/chromeos/login/login_utils.h" |
-#include "content/public/browser/browser_thread.h" |
-#include "google_apis/gaia/google_service_auth_error.h" |
#include "testing/gtest/include/gtest/gtest.h" |
class Profile; |
@@ -75,63 +70,6 @@ class MockAuthenticator : public Authenticator { |
DISALLOW_COPY_AND_ASSIGN(MockAuthenticator); |
}; |
-class TestLoginUtils : public LoginUtils { |
- public: |
- TestLoginUtils(const std::string& expected_username, |
- const std::string& expected_password); |
- virtual ~TestLoginUtils(); |
- |
- virtual void DoBrowserLaunch(Profile* profile, |
- LoginDisplayHost* login_host) OVERRIDE {} |
- virtual void PrepareProfile(const std::string& username, |
- const std::string& display_email, |
- const std::string& password, |
- bool pending_requests, |
- bool using_oauth, |
- bool has_cookies, |
- Delegate* delegate) OVERRIDE; |
- |
- virtual void DelegateDeleted(Delegate* delegate) OVERRIDE; |
- |
- virtual void CompleteOffTheRecordLogin(const GURL& start_url) OVERRIDE {} |
- |
- virtual void SetFirstLoginPrefs(PrefService* prefs) OVERRIDE {} |
- |
- virtual scoped_refptr<Authenticator> CreateAuthenticator( |
- LoginStatusConsumer* consumer) OVERRIDE; |
- |
- virtual void PrewarmAuthentication() OVERRIDE {} |
- |
- virtual void RestoreAuthenticationSession(Profile* profile) OVERRIDE {} |
- |
- virtual void StartTokenServices(Profile* profile) OVERRIDE {} |
- |
- virtual void StartSignedInServices( |
- Profile* profile, |
- const GaiaAuthConsumer::ClientLoginResult& credentials) OVERRIDE {} |
- |
- virtual std::string GetOffTheRecordCommandLine( |
- const GURL& start_url, |
- const CommandLine& base_command_line, |
- CommandLine* command_line) OVERRIDE; |
- |
- virtual void TransferDefaultCookiesAndServerBoundCerts( |
- Profile* default_profile, |
- Profile* new_profile) OVERRIDE; |
- |
- virtual void TransferDefaultAuthCache(Profile* default_profile, |
- Profile* new_profile) OVERRIDE; |
- |
- virtual void StopBackgroundFetchers() OVERRIDE; |
- |
- private: |
- std::string expected_username_; |
- std::string expected_password_; |
- std::string auth_token_; |
- |
- DISALLOW_COPY_AND_ASSIGN(TestLoginUtils); |
-}; |
- |
} // namespace chromeos |
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |