Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_screen_observer.h
blob3f655fe1c441d35b7315b448ad6d5bd02fd086e2
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_
8 #include <string>
10 #include "chrome/browser/chromeos/login/screens/screen_observer.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace chromeos {
15 // Interface that handles notifications received from any of login wizard
16 // screens.
17 class MockScreenObserver : public ScreenObserver {
18 public:
19 MockScreenObserver();
20 virtual ~MockScreenObserver();
22 MOCK_METHOD1(OnExit, void(ExitCodes));
23 MOCK_METHOD0(ShowCurrentScreen, void());
24 MOCK_METHOD2(OnSetUserNamePassword,
25 void(const std::string&, const std::string&));
26 MOCK_METHOD1(SetUsageStatisticsReporting, void(bool));
27 MOCK_CONST_METHOD0(GetUsageStatisticsReporting, bool());
28 MOCK_METHOD0(GetErrorScreen, ErrorScreen*());
29 MOCK_METHOD0(ShowErrorScreen, void());
30 MOCK_METHOD1(HideErrorScreen, void(WizardScreen*));
33 } // namespace chromeos
35 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_