| Index: chrome/browser/chromeos/login/mock_login_status_consumer.h
|
| diff --git a/chrome/browser/chromeos/login/mock_login_status_consumer.h b/chrome/browser/chromeos/login/mock_login_status_consumer.h
|
| deleted file mode 100644
|
| index 1ef80dc307013745705fc9fc9a18ec739510e990..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/mock_login_status_consumer.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// 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_MOCK_LOGIN_STATUS_CONSUMER_H_
|
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_
|
| -
|
| -#include "chrome/browser/chromeos/login/login_status_consumer.h"
|
| -#include "chrome/browser/chromeos/login/user.h"
|
| -#include "testing/gmock/include/gmock/gmock.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -class MockConsumer : public LoginStatusConsumer {
|
| - public:
|
| - MockConsumer();
|
| - virtual ~MockConsumer();
|
| -
|
| - MOCK_METHOD1(OnLoginFailure, void(const LoginFailure& error));
|
| - MOCK_METHOD1(OnRetailModeLoginSuccess, void(
|
| - const UserContext& user_context));
|
| - MOCK_METHOD1(OnLoginSuccess, void(const UserContext& user_context));
|
| - MOCK_METHOD0(OnOffTheRecordLoginSuccess, void(void));
|
| - MOCK_METHOD0(OnPasswordChangeDetected, void(void));
|
| -
|
| - // The following functions can be used in gmock Invoke() clauses.
|
| -
|
| - // Compatible with LoginStatusConsumer::OnRetailModeLoginSuccess()
|
| - static void OnRetailModeSuccessQuit(const UserContext& user_context);
|
| - static void OnRetailModeSuccessQuitAndFail(
|
| - const UserContext& user_context);
|
| -
|
| - // Compatible with LoginStatusConsumer::OnOffTheRecordLoginSuccess()
|
| - static void OnGuestSuccessQuit();
|
| - static void OnGuestSuccessQuitAndFail();
|
| -
|
| - // Compatible with LoginStatusConsumer::OnLoginSuccess()
|
| - static void OnSuccessQuit(const UserContext& user_context);
|
| - static void OnSuccessQuitAndFail(const UserContext& user_context);
|
| -
|
| - // Compatible with LoginStatusConsumer::OnLoginFailure()
|
| - static void OnFailQuit(const LoginFailure& error);
|
| - static void OnFailQuitAndFail(const LoginFailure& error);
|
| -
|
| - // Compatible with LoginStatusConsumer::OnPasswordChangeDetected()
|
| - static void OnMigrateQuit();
|
| - static void OnMigrateQuitAndFail();
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_LOGIN_STATUS_CONSUMER_H_
|
|
|