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_ENROLLMENT_MOCK_AUTO_ENROLLMENT_CHECK_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_MOCK_AUTO_ENROLLMENT_CHECK_SCREEN_H_
8 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen.h"
9 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.h"
10 #include "testing/gmock/include/gmock/gmock.h"
14 class MockAutoEnrollmentCheckScreen
: public AutoEnrollmentCheckScreen
{
16 MockAutoEnrollmentCheckScreen(BaseScreenDelegate
* base_screen_delegate
,
17 AutoEnrollmentCheckScreenActor
* actor
);
18 ~MockAutoEnrollmentCheckScreen() override
;
21 class MockAutoEnrollmentCheckScreenActor
22 : public AutoEnrollmentCheckScreenActor
{
24 MockAutoEnrollmentCheckScreenActor();
25 ~MockAutoEnrollmentCheckScreenActor() override
;
27 void SetDelegate(Delegate
* screen
) override
;
29 MOCK_METHOD1(MockSetDelegate
, void(Delegate
* screen
));
30 MOCK_METHOD0(Show
, void());
36 } // namespace chromeos
38 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_MOCK_AUTO_ENROLLMENT_CHECK_SCREEN_H_