| 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 GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 5 #ifndef GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| 6 #define GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 6 #define GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 virtual void OnGetCheckConnectionInfoSuccess(const std::string& data) {} | 92 virtual void OnGetCheckConnectionInfoSuccess(const std::string& data) {} |
| 93 virtual void OnGetCheckConnectionInfoError( | 93 virtual void OnGetCheckConnectionInfoError( |
| 94 const GoogleServiceAuthError& error) {} | 94 const GoogleServiceAuthError& error) {} |
| 95 | 95 |
| 96 virtual void OnListIdpSessionsSuccess(const std::string& login_hint) {} | 96 virtual void OnListIdpSessionsSuccess(const std::string& login_hint) {} |
| 97 virtual void OnListIdpSessionsError(const GoogleServiceAuthError& error) {} | 97 virtual void OnListIdpSessionsError(const GoogleServiceAuthError& error) {} |
| 98 | 98 |
| 99 virtual void OnGetTokenResponseSuccess(const ClientOAuthResult& result) {} | 99 virtual void OnGetTokenResponseSuccess(const ClientOAuthResult& result) {} |
| 100 virtual void OnGetTokenResponseError(const GoogleServiceAuthError& error) {} | 100 virtual void OnGetTokenResponseError(const GoogleServiceAuthError& error) {} |
| 101 |
| 102 protected: |
| 103 GaiaAuthConsumer() = default; |
| 101 }; | 104 }; |
| 102 | 105 |
| 103 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ | 106 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ |
| OLD | NEW |