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 fab944358cab36bdf1c0723ea02f8d19bafc270d..d22eb37c9db02f60d47872c5f6335e28bdb64129 100644 |
--- a/chrome/browser/ui/sync/one_click_signin_helper.h |
+++ b/chrome/browser/ui/sync/one_click_signin_helper.h |
@@ -195,12 +195,20 @@ class OneClickSigninHelper |
// 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_; |