| 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_LOGIN_STATUS_CONSUMER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "chrome/common/net/gaia/gaia_auth_consumer.h" | 11 #include "google_apis/gaia/gaia_auth_consumer.h" |
| 12 #include "chrome/common/net/gaia/google_service_auth_error.h" | 12 #include "google_apis/gaia/google_service_auth_error.h" |
| 13 #include "net/base/net_errors.h" | 13 #include "net/base/net_errors.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 | 16 |
| 17 class LoginFailure { | 17 class LoginFailure { |
| 18 public: | 18 public: |
| 19 enum FailureReason { | 19 enum FailureReason { |
| 20 NONE, | 20 NONE, |
| 21 COULD_NOT_MOUNT_CRYPTOHOME, | 21 COULD_NOT_MOUNT_CRYPTOHOME, |
| 22 COULD_NOT_MOUNT_TMPFS, | 22 COULD_NOT_MOUNT_TMPFS, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 bool using_oauth) = 0; | 124 bool using_oauth) = 0; |
| 125 // The current guest login attempt has succeeded. | 125 // The current guest login attempt has succeeded. |
| 126 virtual void OnOffTheRecordLoginSuccess() {} | 126 virtual void OnOffTheRecordLoginSuccess() {} |
| 127 // The same password didn't work both online and offline. | 127 // The same password didn't work both online and offline. |
| 128 virtual void OnPasswordChangeDetected(); | 128 virtual void OnPasswordChangeDetected(); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace chromeos | 131 } // namespace chromeos |
| 132 | 132 |
| 133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ | 133 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ |
| OLD | NEW |