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

Unified Diff: components/autofill/content/browser/wallet/wallet_signin_helper.h

Issue 16858016: Respect the new Online Wallet sign-in response. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addresses Dan's comments. Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/content/browser/wallet/wallet_signin_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_signin_helper.h
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper.h b/components/autofill/content/browser/wallet/wallet_signin_helper.h
index 4733dc92f70dd21a2cad2e112de3f0d915b94dcc..fdcd6f8d121db834dff0c6e2c48cfe3d0249d2e6 100644
--- a/components/autofill/content/browser/wallet/wallet_signin_helper.h
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper.h
@@ -108,6 +108,11 @@ class WalletSigninHelper : public GaiaAuthConsumer,
// and calls the delegate callbacks on success/failure.
void ProcessGetAccountInfoResponseAndFinish();
+ // Attempts to parse a response from the Online Wallet sign-in.
+ // Returns true if the response is correct and the sign-in has succeeded.
+ // Otherwise, it calls OnServiceError() and returns false.
+ bool ParseSignInResponse();
+
// Attempts to parse the GetAccountInfo response from the server.
// Returns true on success; the obtained email address is stored into |email|.
bool ParseGetAccountInfoResponse(const net::URLFetcher* fetcher,
« no previous file with comments | « no previous file | components/autofill/content/browser/wallet/wallet_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698