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

Unified Diff: chrome/browser/signin/easy_unlock_screenlock_state_handler.h

Issue 935303002: [Smart Lock] Measure clicks on the lock icon during Easy Unlock's trial run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/signin/easy_unlock_screenlock_state_handler.h
diff --git a/chrome/browser/signin/easy_unlock_screenlock_state_handler.h b/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
index 26b40dce2d8fb0ae6c490776bb3f70368a0e7ced..b0c618baae3a04e7c5ddb8dfc5a608c7b0185ed2 100644
--- a/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
+++ b/chrome/browser/signin/easy_unlock_screenlock_state_handler.h
@@ -97,6 +97,10 @@ class EasyUnlockScreenlockStateHandler : public ScreenlockBridge::Observer {
// Marks the current screenlock state as the one for trial Easy Unlock run.
void SetTrialRun();
+ // Records that the user clicked on the lock icon during the trial run
+ // initiated by the Easy Unlock app.
+ void RecordClickOnLockIcon();
+
State state() const { return state_; }
private:
@@ -113,9 +117,7 @@ class EasyUnlockScreenlockStateHandler : public ScreenlockBridge::Observer {
void ShowHardlockUI();
// Updates icon's tooltip options.
- // |trial_run|: Whether the trial Easy Unlock run is in progress.
void UpdateTooltipOptions(
- bool trial_run,
ScreenlockBridge::UserPodCustomIconOptions* icon_options);
// Gets the name to be used for the device. The name depends on the device
« no previous file with comments | « chrome/browser/signin/easy_unlock_metrics.cc ('k') | chrome/browser/signin/easy_unlock_screenlock_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698