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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper.h

Issue 9592015: Added multi-login support to one-click signin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix member init order in ctor" Created 8 years, 9 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/ui/sync/one_click_signin_dialog.h ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_helper.h
diff --git a/chrome/browser/ui/sync/one_click_signin_helper.h b/chrome/browser/ui/sync/one_click_signin_helper.h
index 3dbed2a48c565b8330300c54aa577065c00e4ae5..daf80500a2b6af4d6bd2dd7332de14d97df62d0e 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper.h
+++ b/chrome/browser/ui/sync/one_click_signin_helper.h
@@ -41,7 +41,8 @@ class OneClickSigninHelper : public content::WebContentsObserver {
private:
// The portion of ShowInfoBarIfPossible() that needs to run on the UI thread.
- static void ShowInfoBarUIThread(const std::string& account,
+ static void ShowInfoBarUIThread(const std::string& session_index,
+ const std::string& email,
int child_id,
int route_id);
@@ -52,12 +53,14 @@ class OneClickSigninHelper : public content::WebContentsObserver {
virtual void DidStopLoading() OVERRIDE;
// Save the email address that we can display the info bar correctly.
- void SaveEmail(const std::string& email);
+ void SaveSessionIndexAndEmail(const std::string& session_index,
+ const std::string& email);
// Remember the user's password for later use.
void SavePassword(const std::string& password);
- // Email address and password of the account that has just logged in.
+ // Information about the account that has just logged in.
+ std::string session_index_;
std::string email_;
std::string password_;
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_dialog.h ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698