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

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

Issue 12395019: Merge 185407 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 years, 10 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/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
===================================================================
--- chrome/browser/ui/sync/one_click_signin_helper.h (revision 185921)
+++ chrome/browser/ui/sync/one_click_signin_helper.h (working copy)
@@ -195,12 +195,20 @@
// ProfileSyncServiceObserver.
virtual void OnStateChanged() OVERRIDE;
+ // Tracks if we are in the process of showing the signin or one click
+ // interstitial page. It's set to true the first time we load one of those
+ // pages and set to false when transient state is cleaned.
+ bool showing_signin_;
+
// Information about the account that has just logged in.
std::string session_index_;
std::string email_;
std::string password_;
AutoAccept auto_accept_;
SyncPromoUI::Source source_;
+ bool switched_to_advanced_;
+ // When switching to advanced settings, we want to track the original source.
+ SyncPromoUI::Source original_source_;
GURL continue_url_;
// Redirect URL after sync setup is complete.
GURL redirect_url_;
« no previous file with comments | « no previous file | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698