root/chrome/browser/chromeos/login/screens/mock_screen_observer.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_

#include <string>

#include "chrome/browser/chromeos/login/screens/screen_observer.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace chromeos {

// Interface that handles notifications received from any of login wizard
// screens.
class MockScreenObserver : public ScreenObserver {
 public:
  MockScreenObserver();
  virtual ~MockScreenObserver();

  MOCK_METHOD1(OnExit, void(ExitCodes));
  MOCK_METHOD0(ShowCurrentScreen, void());
  MOCK_METHOD2(OnSetUserNamePassword,
               void(const std::string&, const std::string&));
  MOCK_METHOD1(SetUsageStatisticsReporting, void(bool));
  MOCK_CONST_METHOD0(GetUsageStatisticsReporting, bool());
  MOCK_METHOD0(GetErrorScreen, ErrorScreen*());
  MOCK_METHOD0(ShowErrorScreen, void());
  MOCK_METHOD1(HideErrorScreen, void(WizardScreen*));
};

}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_SCREEN_OBSERVER_H_

/* [<][>][^][v][top][bottom][index][help] */