| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TEST_ATTEMPT_STATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TEST_ATTEMPT_STATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/chromeos/login/auth_attempt_state.h" | 11 #include "chrome/browser/chromeos/login/auth/auth_attempt_state.h" |
| 12 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 12 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h" |
| 13 #include "chrome/browser/chromeos/login/user.h" | 13 #include "chrome/browser/chromeos/login/users/user.h" |
| 14 #include "google_apis/gaia/gaia_auth_consumer.h" | 14 #include "google_apis/gaia/gaia_auth_consumer.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 class TestAttemptState : public AuthAttemptState { | 18 class TestAttemptState : public AuthAttemptState { |
| 19 public: | 19 public: |
| 20 TestAttemptState(const UserContext& credentials, | 20 TestAttemptState(const UserContext& credentials, |
| 21 const std::string& login_token, | 21 const std::string& login_token, |
| 22 const std::string& login_captcha, | 22 const std::string& login_captcha, |
| 23 const User::UserType user_type, | 23 const User::UserType user_type, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 virtual bool cryptohome_complete() OVERRIDE; | 44 virtual bool cryptohome_complete() OVERRIDE; |
| 45 virtual bool cryptohome_outcome() OVERRIDE; | 45 virtual bool cryptohome_outcome() OVERRIDE; |
| 46 virtual cryptohome::MountError cryptohome_code() OVERRIDE; | 46 virtual cryptohome::MountError cryptohome_code() OVERRIDE; |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 DISALLOW_COPY_AND_ASSIGN(TestAttemptState); | 49 DISALLOW_COPY_AND_ASSIGN(TestAttemptState); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace chromeos | 52 } // namespace chromeos |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TEST_ATTEMPT_STATE_H_ |
| OLD | NEW |