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

Unified Diff: chrome/browser/sync/signin_manager.h

Issue 7497069: Support Sync following Gaia OAuth authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final review comments Created 9 years, 4 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 | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/signin_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/signin_manager.h
diff --git a/chrome/browser/sync/signin_manager.h b/chrome/browser/sync/signin_manager.h
index 879fe484c300a287de3c520db41c7c70a6b99cbe..ce6ba2961ead3de33f14a6a8e336c7fca6303659 100644
--- a/chrome/browser/sync/signin_manager.h
+++ b/chrome/browser/sync/signin_manager.h
@@ -116,12 +116,18 @@ class SigninManager : public GaiaAuthConsumer,
private:
void PrepareForSignin();
+ void PrepareForOAuthSignin();
Profile* profile_;
+
+ // ClientLogin identity.
std::string username_;
std::string password_; // This is kept empty whenever possible.
bool had_two_factor_error_;
+ // OAuth identity.
+ std::string oauth_username_;
+
void CleanupNotificationRegistration();
// Result of the last client login, kept pending the lookup of the
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698