| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" |
| 12 |
| 13 namespace chromeos { |
| 14 |
| 15 // Interface that handles notifications received from any of login wizard |
| 16 // screens. |
| 17 class MockBaseScreenDelegate : public BaseScreenDelegate { |
| 18 public: |
| 19 MockBaseScreenDelegate(); |
| 20 virtual ~MockBaseScreenDelegate(); |
| 21 |
| 22 MOCK_METHOD1(OnExit, void(ExitCodes)); |
| 23 MOCK_METHOD0(ShowCurrentScreen, void()); |
| 24 MOCK_METHOD0(GetErrorScreen, ErrorScreen*()); |
| 25 MOCK_METHOD0(ShowErrorScreen, void()); |
| 26 MOCK_METHOD1(HideErrorScreen, void(BaseScreen*)); |
| 27 }; |
| 28 |
| 29 } // namespace chromeos |
| 30 |
| 31 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_ |
| OLD | NEW |