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

Side by Side Diff: chrome/browser/net/gaia/gaia_oauth_consumer.h

Issue 8248002: Merge 103908 - Extend GaiaOAuthFetcher with support for revoking tokens. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/874/src/
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/net/gaia/gaia_oauth_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ 5 #ifndef CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ 6 #define CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 virtual void OnOAuthWrapBridgeFailure(const std::string& service_scope, 30 virtual void OnOAuthWrapBridgeFailure(const std::string& service_scope,
31 const GoogleServiceAuthError& error) {} 31 const GoogleServiceAuthError& error) {}
32 32
33 virtual void OnUserInfoSuccess(const std::string& email) {} 33 virtual void OnUserInfoSuccess(const std::string& email) {}
34 virtual void OnUserInfoFailure(const GoogleServiceAuthError& error) {} 34 virtual void OnUserInfoFailure(const GoogleServiceAuthError& error) {}
35 35
36 virtual void OnOAuthLoginSuccess(const std::string& sid, 36 virtual void OnOAuthLoginSuccess(const std::string& sid,
37 const std::string& lsid, 37 const std::string& lsid,
38 const std::string& auth) {} 38 const std::string& auth) {}
39 virtual void OnOAuthLoginFailure(const GoogleServiceAuthError& error) {} 39 virtual void OnOAuthLoginFailure(const GoogleServiceAuthError& error) {}
40
41 virtual void OnOAuthRevokeTokenSuccess() {}
42 virtual void OnOAuthRevokeTokenFailure(const GoogleServiceAuthError& error) {}
40 }; 43 };
41 44
42 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_ 45 #endif // CHROME_BROWSER_NET_GAIA_GAIA_OAUTH_CONSUMER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/gaia/gaia_oauth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698