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

Unified Diff: chrome/browser/signin/easy_unlock_service.cc

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
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/screenlock_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 8ce8fd495b6f31ce633e2e0049509d17fad1f4f9..430a98f3671abd7370e5b052d907cbf417dbbb7a 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -500,13 +500,18 @@ void EasyUnlockService::CheckCryptohomeKeysAndMaybeHardlock() {
}
void EasyUnlockService::SetTrialRun() {
- DCHECK(GetType() == TYPE_REGULAR);
+ DCHECK_EQ(GetType(), TYPE_REGULAR);
EasyUnlockScreenlockStateHandler* handler = GetScreenlockStateHandler();
if (handler)
handler->SetTrialRun();
}
+void EasyUnlockService::RecordClickOnLockIcon() {
+ if (screenlock_state_handler_)
+ screenlock_state_handler_->RecordClickOnLockIcon();
+}
+
void EasyUnlockService::AddObserver(EasyUnlockServiceObserver* observer) {
observers_.AddObserver(observer);
}
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/screenlock_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698