#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_DISPLAY_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_DISPLAY_H_
#include "base/basictypes.h"
#include "chrome/browser/chromeos/login/login_display.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace chromeos {
class MockLoginDisplay : public LoginDisplay {
public:
MockLoginDisplay();
~MockLoginDisplay();
MOCK_METHOD0(ClearAndEnablePassword, void(void));
MOCK_METHOD4(Init, void(const UserList&, bool, bool, bool));
MOCK_METHOD0(OnPreferencesChanged, void(void));
MOCK_METHOD1(OnUserImageChanged, void(const User&));
MOCK_METHOD0(OnFadeOut, void(void));
MOCK_METHOD1(OnLoginSuccess, void(const std::string&));
MOCK_METHOD1(SetUIEnabled, void(bool));
MOCK_METHOD1(SelectPod, void(int));
MOCK_METHOD1(ShowBannerMessage, void(const std::string&));
MOCK_METHOD3(ShowUserPodButton, void(const std::string&,
const std::string&,
const base::Closure&));
MOCK_METHOD1(HideUserPodButton, void(const std::string&));
MOCK_METHOD3(SetAuthType,
void(const std::string&,
LoginDisplay::AuthType,
const std::string&));
MOCK_CONST_METHOD1(GetAuthType, AuthType(const std::string&));
MOCK_METHOD3(ShowError, void(int, int, HelpAppLauncher::HelpTopic));
MOCK_METHOD1(ShowErrorScreen, void(LoginDisplay::SigninError));
MOCK_METHOD1(ShowGaiaPasswordChanged, void(const std::string&));
MOCK_METHOD1(ShowPasswordChangedDialog, void(bool));
MOCK_METHOD1(ShowSigninUI, void(const std::string&));
MOCK_METHOD1(ShowControlBar, void(bool));
MOCK_METHOD1(OnBeforeUserRemoved, void(const std::string&));
MOCK_METHOD1(OnUserRemoved, void(const std::string&));
private:
DISALLOW_COPY_AND_ASSIGN(MockLoginDisplay);
};
}
#endif