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

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

Issue 628193003: [Easy Unlock] Update handling of the trial easy unlock/signin run (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: autoshow tooltip for hardlock Created 6 years, 2 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_service.h
diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
index c9064a6854555c6e052da65a52b251881e587cd0..b378bfc984c6f12c6e721866aa201d93aae48b50 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -64,7 +64,7 @@ class EasyUnlockService : public KeyedService {
static void RegisterPrefs(PrefRegistrySimple* registry);
// Removes the hardlock state for the given user.
- static void RemoveHardlockStateForUser(const std::string& user_id);
+ static void ResetLocalStateForUser(const std::string& user_id);
// Returns the EasyUnlockService type.
virtual Type GetType() const = 0;
@@ -141,6 +141,10 @@ class EasyUnlockService : public KeyedService {
// hardlock state if the two do not match.
void CheckCryptohomeKeysAndMaybeHardlock();
+ // Marks the Easy Unlock screen lock state as the one associated with the
+ // trial run initiated by Easy Unlock app.
+ void SetTrialRun();
+
void AddObserver(EasyUnlockServiceObserver* observer);
void RemoveObserver(EasyUnlockServiceObserver* observer);

Powered by Google App Engine
This is Rietveld 408576698