Index: chrome/browser/chromeos/login/auth/mock_authenticator.h |
diff --git a/chrome/browser/chromeos/login/auth/mock_authenticator.h b/chrome/browser/chromeos/login/auth/mock_authenticator.h |
deleted file mode 100644 |
index 4bd3482053e482ae2d754d57e745fecb897679fb..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/login/auth/mock_authenticator.h |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_ |
-#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_ |
- |
-#include <string> |
- |
-#include "chrome/browser/chromeos/login/auth/authenticator.h" |
-#include "chromeos/login/auth/user_context.h" |
-#include "testing/gtest/include/gtest/gtest.h" |
- |
-class Profile; |
- |
-namespace chromeos { |
- |
-class AuthStatusConsumer; |
- |
-class MockAuthenticator : public Authenticator { |
- public: |
- MockAuthenticator(AuthStatusConsumer* consumer, |
- const UserContext& expected_user_context); |
- |
- // Authenticator: |
- virtual void CompleteLogin(Profile* profile, |
- const UserContext& user_context) OVERRIDE; |
- virtual void AuthenticateToLogin(Profile* profile, |
- const UserContext& user_context) OVERRIDE; |
- virtual void AuthenticateToUnlock(const UserContext& user_context) OVERRIDE; |
- virtual void LoginAsSupervisedUser( |
- const UserContext& user_context) OVERRIDE; |
- virtual void LoginRetailMode() OVERRIDE; |
- virtual void LoginOffTheRecord() OVERRIDE; |
- virtual void LoginAsPublicAccount(const std::string& username) OVERRIDE; |
- virtual void LoginAsKioskAccount(const std::string& app_user_id, |
- bool use_guest_mount) OVERRIDE; |
- virtual void OnRetailModeAuthSuccess() OVERRIDE; |
- virtual void OnAuthSuccess() OVERRIDE; |
- virtual void OnAuthFailure(const AuthFailure& failure) OVERRIDE; |
- virtual void RecoverEncryptedData( |
- const std::string& old_password) OVERRIDE; |
- virtual void ResyncEncryptedData() OVERRIDE; |
- |
- virtual void SetExpectedCredentials(const UserContext& user_context); |
- |
- protected: |
- virtual ~MockAuthenticator(); |
- |
- private: |
- UserContext expected_user_context_; |
- |
- DISALLOW_COPY_AND_ASSIGN(MockAuthenticator); |
-}; |
- |
-} // namespace chromeos |
- |
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_MOCK_AUTHENTICATOR_H_ |