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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/pin_storage.h

Issue 2715823004: Add FingerprintUnlock KeyedService for each profile (Closed)
Patch Set: Incorporate comments Created 3 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/chromeos/login/quick_unlock/pin_storage.h
diff --git a/chrome/browser/chromeos/login/quick_unlock/pin_storage.h b/chrome/browser/chromeos/login/quick_unlock/pin_storage.h
index 56333fd484bd9925c06206575a58a524640d9c72..c6358a8332d3288a8ffa18d2617345077fa7c2e8 100644
--- a/chrome/browser/chromeos/login/quick_unlock/pin_storage.h
+++ b/chrome/browser/chromeos/login/quick_unlock/pin_storage.h
@@ -9,7 +9,6 @@
#include "base/gtest_prod_util.h"
#include "base/time/time.h"
-#include "components/keyed_service/core/keyed_service.h"
class PrefRegistrySimple;
class PrefService;
@@ -20,7 +19,7 @@ class PinStorageTestApi;
namespace quick_unlock {
-class PinStorage : public KeyedService {
+class PinStorage {
public:
// TODO(sammiequon): Pull this value in from policy. See crbug.com/612271.
static const int kMaximumUnlockAttempts = 3;
@@ -29,7 +28,7 @@ class PinStorage : public KeyedService {
static void RegisterProfilePrefs(PrefRegistrySimple* registry);
explicit PinStorage(PrefService* pref_service);
- ~PinStorage() override;
+ ~PinStorage();
// Mark in storage that the user has had a strong authentication. This means
// that they authenticated with their password, for example. PIN unlock will

Powered by Google App Engine
This is Rietveld 408576698