Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_DISPLAY_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_DISPLAY_H_ | |
| 7 | |
| 8 #include "chrome/browser/chromeos/login/help_app_launcher.h" | |
|
bartfab (slow)
2013/03/07 12:17:23
What is this needed for?
If it is required to mak
dconnelly
2013/03/07 14:45:19
Done.
| |
| 9 #include "chrome/browser/chromeos/login/login_display.h" | |
| 10 #include "chrome/browser/chromeos/login/user.h" | |
|
bartfab (slow)
2013/03/07 12:17:23
What is this needed for?
If it is required to mak
dconnelly
2013/03/07 14:45:19
Done.
| |
| 11 #include "chrome/test/base/ui_test_utils.h" | |
|
bartfab (slow)
2013/03/07 12:17:23
What is this needed for?
If it is required to mak
dconnelly
2013/03/07 14:45:19
Done.
| |
| 12 #include "testing/gmock/include/gmock/gmock.h" | |
| 13 | |
| 14 namespace chromeos { | |
| 15 | |
| 16 class MockLoginDisplay : public LoginDisplay { | |
| 17 public: | |
| 18 MockLoginDisplay(); | |
| 19 ~MockLoginDisplay(); | |
| 20 | |
| 21 MOCK_METHOD4(Init, void(const UserList&, bool, bool, bool)); | |
| 22 MOCK_METHOD0(OnPreferencesChanged, void(void)); | |
| 23 MOCK_METHOD1(OnUserImageChanged, void(const User&)); | |
| 24 MOCK_METHOD0(OnFadeOut, void(void)); | |
| 25 MOCK_METHOD1(OnLoginSuccess, void(const std::string&)); | |
| 26 MOCK_METHOD1(SetUIEnabled, void(bool)); | |
| 27 MOCK_METHOD1(SelectPod, void(int)); | |
| 28 MOCK_METHOD3(ShowError, void(int, int, HelpAppLauncher::HelpTopic)); | |
| 29 MOCK_METHOD1(ShowErrorScreen, void(LoginDisplay::SigninError)); | |
| 30 MOCK_METHOD1(ShowGaiaPasswordChanged, void(const std::string&)); | |
| 31 MOCK_METHOD1(ShowPasswordChangedDialog, void(bool)); | |
| 32 MOCK_METHOD1(ShowSigninUI, void(const std::string&)); | |
| 33 MOCK_METHOD1(OnBeforeUserRemoved, void(const std::string&)); | |
| 34 MOCK_METHOD1(OnUserRemoved, void(const std::string&)); | |
| 35 | |
| 36 private: | |
| 37 DISALLOW_COPY_AND_ASSIGN(MockLoginDisplay); | |
|
bartfab (slow)
2013/03/07 12:17:23
#include "base/basictypes.h" for this
dconnelly
2013/03/07 14:45:19
Done.
| |
| 38 }; | |
| 39 | |
| 40 } // namespace chromeos | |
| 41 | |
| 42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_DISPLAY_H_ | |
| OLD | NEW |