#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_
#include "chrome/browser/chromeos/login/login_status_consumer.h"
#include "chrome/browser/chromeos/login/user.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace chromeos {
class MockConsumer : public LoginStatusConsumer {
public:
MockConsumer();
virtual ~MockConsumer();
MOCK_METHOD1(OnLoginFailure, void(const LoginFailure& error));
MOCK_METHOD1(OnRetailModeLoginSuccess, void(
const UserContext& user_context));
MOCK_METHOD1(OnLoginSuccess, void(const UserContext& user_context));
MOCK_METHOD0(OnOffTheRecordLoginSuccess, void(void));
MOCK_METHOD0(OnPasswordChangeDetected, void(void));
static void OnRetailModeSuccessQuit(const UserContext& user_context);
static void OnRetailModeSuccessQuitAndFail(
const UserContext& user_context);
static void OnGuestSuccessQuit();
static void OnGuestSuccessQuitAndFail();
static void OnSuccessQuit(const UserContext& user_context);
static void OnSuccessQuitAndFail(const UserContext& user_context);
static void OnFailQuit(const LoginFailure& error);
static void OnFailQuitAndFail(const LoginFailure& error);
static void OnMigrateQuit();
static void OnMigrateQuitAndFail();
};
}
#endif