1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_WRONG_HWID_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_WRONG_HWID_SCREEN_H_
8 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen.h"
9 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h"
10 #include "testing/gmock/include/gmock/gmock.h"
14 class BaseScreenDelegate
;
16 class MockWrongHWIDScreen
: public WrongHWIDScreen
{
18 MockWrongHWIDScreen(BaseScreenDelegate
* base_screen_delegate
,
19 WrongHWIDScreenActor
* actor
);
20 ~MockWrongHWIDScreen() override
;
23 class MockWrongHWIDScreenActor
: public WrongHWIDScreenActor
{
25 MockWrongHWIDScreenActor();
26 ~MockWrongHWIDScreenActor() override
;
28 void SetDelegate(Delegate
* delegate
) override
;
30 MOCK_METHOD0(PrepareToShow
, void());
31 MOCK_METHOD0(Show
, void());
32 MOCK_METHOD0(Hide
, void());
33 MOCK_METHOD1(MockSetDelegate
, void(Delegate
*));
39 } // namespace chromeos
41 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_WRONG_HWID_SCREEN_H_