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

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
« 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
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_;
« 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