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

Side by Side Diff: chrome/common/net/gaia/gaia_auth_consumer.h

Issue 8669010: Revert 111270 - Part 1 of work to do user sign in based on OAuth2: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « chrome/chrome_tests.gypi ('k') | chrome/common/net/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) 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_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ 5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_
6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ 6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 virtual ~GaiaAuthConsumer() {} 35 virtual ~GaiaAuthConsumer() {}
36 36
37 virtual void OnClientLoginSuccess(const ClientLoginResult& result) {} 37 virtual void OnClientLoginSuccess(const ClientLoginResult& result) {}
38 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {} 38 virtual void OnClientLoginFailure(const GoogleServiceAuthError& error) {}
39 39
40 virtual void OnIssueAuthTokenSuccess(const std::string& service, 40 virtual void OnIssueAuthTokenSuccess(const std::string& service,
41 const std::string& auth_token) {} 41 const std::string& auth_token) {}
42 virtual void OnIssueAuthTokenFailure(const std::string& service, 42 virtual void OnIssueAuthTokenFailure(const std::string& service,
43 const GoogleServiceAuthError& error) {} 43 const GoogleServiceAuthError& error) {}
44 44
45 virtual void OnOAuthLoginTokenSuccess(const std::string& refresh_token,
46 const std::string& access_token,
47 int expires_in_secs) {}
48 virtual void OnOAuthLoginTokenFailure(const GoogleServiceAuthError& error) {}
49
50 virtual void OnGetUserInfoSuccess(const std::string& key, 45 virtual void OnGetUserInfoSuccess(const std::string& key,
51 const std::string& value) {} 46 const std::string& value) {}
52 virtual void OnGetUserInfoKeyNotFound(const std::string& key) {} 47 virtual void OnGetUserInfoKeyNotFound(const std::string& key) {}
53 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {} 48 virtual void OnGetUserInfoFailure(const GoogleServiceAuthError& error) {}
54 49
55 virtual void OnTokenAuthSuccess(const std::string& data) {} 50 virtual void OnTokenAuthSuccess(const std::string& data) {}
56 virtual void OnTokenAuthFailure(const GoogleServiceAuthError& error) {} 51 virtual void OnTokenAuthFailure(const GoogleServiceAuthError& error) {}
57 52
58 virtual void OnMergeSessionSuccess(const std::string& data) {} 53 virtual void OnMergeSessionSuccess(const std::string& data) {}
59 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {} 54 virtual void OnMergeSessionFailure(const GoogleServiceAuthError& error) {}
60 }; 55 };
61 56
62 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_ 57 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTH_CONSUMER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/net/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698