| Index: chrome/browser/chromeos/login/test_attempt_state.cc
|
| diff --git a/chrome/browser/chromeos/login/test_attempt_state.cc b/chrome/browser/chromeos/login/test_attempt_state.cc
|
| deleted file mode 100644
|
| index cbb95a6ca4a2dc8d08f9ec4f0c463896259cd745..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/test_attempt_state.cc
|
| +++ /dev/null
|
| @@ -1,73 +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/test_attempt_state.h"
|
| -
|
| -#include <string>
|
| -
|
| -#include "google_apis/gaia/gaia_auth_consumer.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -TestAttemptState::TestAttemptState(const UserContext& credentials,
|
| - const std::string& login_token,
|
| - const std::string& login_captcha,
|
| - const User::UserType user_type,
|
| - const bool user_is_new)
|
| - : AuthAttemptState(credentials,
|
| - login_token,
|
| - login_captcha,
|
| - user_type,
|
| - user_is_new) {
|
| -}
|
| -
|
| -TestAttemptState::~TestAttemptState() {}
|
| -
|
| -void TestAttemptState::PresetOnlineLoginStatus(
|
| - const LoginFailure& outcome) {
|
| - online_complete_ = true;
|
| - online_outcome_ = outcome;
|
| -}
|
| -
|
| -void TestAttemptState::DisableHosted() {
|
| - hosted_policy_ = GaiaAuthFetcher::HostedAccountsNotAllowed;
|
| -}
|
| -
|
| -void TestAttemptState::PresetCryptohomeStatus(
|
| - bool cryptohome_outcome,
|
| - cryptohome::MountError cryptohome_code) {
|
| - cryptohome_complete_ = true;
|
| - cryptohome_outcome_ = cryptohome_outcome;
|
| - cryptohome_code_ = cryptohome_code;
|
| -}
|
| -
|
| -bool TestAttemptState::online_complete() {
|
| - return online_complete_;
|
| -}
|
| -
|
| -const LoginFailure& TestAttemptState::online_outcome() {
|
| - return online_outcome_;
|
| -}
|
| -
|
| -bool TestAttemptState::is_first_time_user() {
|
| - return is_first_time_user_;
|
| -}
|
| -
|
| -GaiaAuthFetcher::HostedAccountsSetting TestAttemptState::hosted_policy() {
|
| - return hosted_policy_;
|
| -}
|
| -
|
| -bool TestAttemptState::cryptohome_complete() {
|
| - return cryptohome_complete_;
|
| -}
|
| -
|
| -bool TestAttemptState::cryptohome_outcome() {
|
| - return cryptohome_outcome_;
|
| -}
|
| -
|
| -cryptohome::MountError TestAttemptState::cryptohome_code() {
|
| - return cryptohome_code_;
|
| -}
|
| -
|
| -} // namespace chromeos
|
|
|