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

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: 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..da1abcb8cb956df92f07440226ba93bbfa82b89d 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;
@@ -216,6 +216,10 @@ class EasyUnlockService : public KeyedService {
const std::string& user_id,
EasyUnlockScreenlockStateHandler::HardlockState state);
+ // If needed, migrates prefs::kEasyUnlockShowTutorial pref from user prefs
+ // to local state.
+ void MaybeMigrateShowTutorialPref(const std::string& user_id);
+
#if defined(OS_CHROMEOS)
// Callback for get key operation from CheckCryptohomeKeysAndMaybeHardlock.
void OnCryptohomeKeysFetchedForChecking(

Powered by Google App Engine
This is Rietveld 408576698