Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_device_disabled_screen_actor.h
blobe124e066334cb090689853b6066f36e6b8ce11a3
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_DEVICE_DISABLED_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_DEVICE_DISABLED_SCREEN_ACTOR_H_
8 #include "chrome/browser/chromeos/login/screens/device_disabled_screen_actor.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 namespace chromeos {
13 class MockDeviceDisabledScreenActor : public DeviceDisabledScreenActor {
14 public:
15 MockDeviceDisabledScreenActor();
16 ~MockDeviceDisabledScreenActor() override;
18 void SetDelegate(Delegate* delegate) override;
20 MOCK_METHOD0(Show, void());
21 MOCK_METHOD0(Hide, void());
22 MOCK_METHOD1(UpdateMessage, void(const std::string& message));
24 private:
25 MOCK_METHOD1(MockSetDelegate, void(Delegate* delegate));
27 Delegate* delegate_;
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_DEVICE_DISABLED_SCREEN_ACTOR_H_