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

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

Issue 12362002: Expanding signin histogram coverage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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
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..894f6e901979c855294acf95ec60b33910c578b1 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 advanced_source_;
Roger Tawa OOO till Jul 10th 2013/02/28 20:23:54 Maybe call this member original_source_ ? Also, i
jwd 2013/02/28 20:45:38 Done.
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') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698