| Index: chrome/browser/chromeos/login/mock_login_status_consumer.cc
|
| diff --git a/chrome/browser/chromeos/login/mock_login_status_consumer.cc b/chrome/browser/chromeos/login/mock_login_status_consumer.cc
|
| deleted file mode 100644
|
| index f648cd019be3eb55694a178d16bc9c2142e328ab..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/mock_login_status_consumer.cc
|
| +++ /dev/null
|
| @@ -1,74 +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.
|
| -
|
| -#include "chrome/browser/chromeos/login/mock_login_status_consumer.h"
|
| -
|
| -#include "base/message_loop/message_loop.h"
|
| -#include "chrome/browser/chromeos/login/user.h"
|
| -#include "google_apis/gaia/gaia_auth_consumer.h"
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -MockConsumer::MockConsumer() {}
|
| -
|
| -MockConsumer::~MockConsumer() {}
|
| -
|
| -// static
|
| -void MockConsumer::OnRetailModeSuccessQuit(const UserContext& user_context) {
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnRetailModeSuccessQuitAndFail(
|
| - const UserContext& user_context) {
|
| - ADD_FAILURE() << "Retail mode login should have failed!";
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnGuestSuccessQuit() {
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnGuestSuccessQuitAndFail() {
|
| - ADD_FAILURE() << "Guest login should have failed!";
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnSuccessQuit(const UserContext& user_context) {
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnSuccessQuitAndFail(const UserContext& user_context) {
|
| - ADD_FAILURE() << "Login should NOT have succeeded!";
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnFailQuit(const LoginFailure& error) {
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnFailQuitAndFail(const LoginFailure& error) {
|
| - ADD_FAILURE() << "Login should not have failed!";
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnMigrateQuit() {
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -// static
|
| -void MockConsumer::OnMigrateQuitAndFail() {
|
| - ADD_FAILURE() << "Should not have detected a PW change!";
|
| - base::MessageLoop::current()->Quit();
|
| -}
|
| -
|
| -} // namespace chromeos
|
|
|