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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 11938007: Don't use request user data during one-click sign in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 7 years, 11 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 | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 2a3e5e8d6e017237da45edf9ffc8ec424342620a..03faa860eb1f8ba857dd7b35fa7e43e561a5dd15 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -125,6 +125,14 @@ class ProfileIOData {
return &reverse_autologin_enabled_;
}
+ const std::string& reverse_autologin_pending_email() const {
+ return reverse_autologin_pending_email_;
+ }
+
+ void set_reverse_autologin_pending_email(const std::string& email) {
+ reverse_autologin_pending_email_ = email;
+ }
+
StringListPrefMember* one_click_signin_rejected_email_list() const {
return &one_click_signin_rejected_email_list_;
}
@@ -418,6 +426,11 @@ class ProfileIOData {
mutable StringPrefMember google_services_username_;
mutable StringPrefMember google_services_username_pattern_;
mutable BooleanPrefMember reverse_autologin_enabled_;
+
+ // During the reverse autologin request chain processing, this member saves
+ // the email of the google account that is being signed into.
+ std::string reverse_autologin_pending_email_;
+
mutable StringListPrefMember one_click_signin_rejected_email_list_;
// Member variables which are pointed to by the various context objects.
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698