Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: google_apis/gaia/gaia_auth_consumer.h

Issue 13599003: revoke unused OAuth2 tokens on signout and re-signin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/signin/signin_manager.cc ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {} 65 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {}
66 66
67 virtual void OnIssueAuthTokenSuccess(const std::string& service, 67 virtual void OnIssueAuthTokenSuccess(const std::string& service,
68 const std::string& auth_token) {} 68 const std::string& auth_token) {}
69 virtual void OnIssueAuthTokenFailure(const std::string& service, 69 virtual void OnIssueAuthTokenFailure(const std::string& service,
70 const GoogleServiceAuthError& error) {} 70 const GoogleServiceAuthError& error) {}
71 71
72 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) {} 72 virtual void OnClientOAuthSuccess(const ClientOAuthResult& result) {}
73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {} 73 virtual void OnClientOAuthFailure(const GoogleServiceAuthError& error) {}
74 74
75 virtual void OnOAuth2RevokeTokenCompleted() {}
76
75 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {} 77 virtual void OnGetUserInfoSuccess(const UserInfoMap& data) {}
76 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} 78 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {}
77 79
78 virtual void OnUberAuthTokenSuccess(const std::string& token) {} 80 virtual void OnUberAuthTokenSuccess(const std::string& token) {}
79 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {} 81 virtual void OnUberAuthTokenFailure(const GoogleServiceAuthError& error) {}
80 82
81 virtual void OnMergeSessionSuccess(const std::string& data) {} 83 virtual void OnMergeSessionSuccess(const std::string& data) {}
82 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} 84 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {}
83 }; 85 };
84 86
85 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_ 87 #endif // GOOGLE_APIS_GAIA_GAIA_AUTH_CONSUMER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_manager.cc ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698