Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

mock_login_library.h

// Copyright (c) 2010 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_CROS_MOCK_LOGIN_LIBRARY_H_
#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_LOGIN_LIBRARY_H_

#include <string>

#include "chrome/browser/chromeos/cros/login_library.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace chromeos {

class MockLoginLibrary : public LoginLibrary {
 public:
  MockLoginLibrary() {}
  virtual ~MockLoginLibrary() {}
  MOCK_METHOD0(EmitLoginPromptReady, bool(void));
  MOCK_METHOD2(StartSession, bool(const std::string&, const std::string&));
  MOCK_METHOD1(StartSession, bool(const std::string&));
  MOCK_METHOD1(StopSession, bool(const std::string&));
};

}  // namespace chromeos

#endif  // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LOGIN_LIBRARY_H_


Generated by  Doxygen 1.6.0   Back to index