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_AUTH_LOGIN_STATUS_CONSUMER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_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 "google_apis/gaia/gaia_auth_consumer.h" | 11 #include "google_apis/gaia/gaia_auth_consumer.h" |
12 #include "google_apis/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 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // The current login attempt has succeeded for |user_context|. | 121 // The current login attempt has succeeded for |user_context|. |
122 virtual void OnLoginSuccess(const UserContext& user_context) = 0; | 122 virtual void OnLoginSuccess(const UserContext& user_context) = 0; |
123 // The current guest login attempt has succeeded. | 123 // The current guest login attempt has succeeded. |
124 virtual void OnOffTheRecordLoginSuccess() {} | 124 virtual void OnOffTheRecordLoginSuccess() {} |
125 // The same password didn't work both online and offline. | 125 // The same password didn't work both online and offline. |
126 virtual void OnPasswordChangeDetected(); | 126 virtual void OnPasswordChangeDetected(); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace chromeos | 129 } // namespace chromeos |
130 | 130 |
131 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_STATUS_CONSUMER_H_ | 131 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_LOGIN_STATUS_CONSUMER_H_ |
OLD | NEW |