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

Unified Diff: chrome/browser/chromeos/login/quick_unlock/quick_unlock_notification_controller.cc

Issue 2715823004: Add FingerprintUnlock KeyedService for each profile (Closed)
Patch Set: rebase 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/quick_unlock_notification_controller.cc
diff --git a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_notification_controller.cc b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_notification_controller.cc
index c475035392688de6e4bca3f0e1fc145c5936ee63..8f400e38731a966aa6c7fdba5ae0fe672f9c3a10 100644
--- a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_notification_controller.cc
+++ b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_notification_controller.cc
@@ -8,8 +8,8 @@
#include "ash/common/system/system_notifier.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_notification_types.h"
-#include "chrome/browser/chromeos/login/quick_unlock/pin_storage.h"
-#include "chrome/browser/chromeos/login/quick_unlock/pin_storage_factory.h"
+#include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_factory.h"
+#include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.h"
#include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h"
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
@@ -91,7 +91,8 @@ bool QuickUnlockNotificationController::ShouldShowPinNotification(
return false;
// Do not show the notification if the pin is already set.
- PinStorage* pin_storage = PinStorageFactory::GetForProfile(profile);
+ PinStorage* pin_storage =
+ QuickUnlockFactory::GetForProfile(profile)->pin_storage();
if (pin_storage->IsPinSet())
return false;
@@ -186,5 +187,5 @@ QuickUnlockNotificationController::NotificationParams::NotificationParams() {}
QuickUnlockNotificationController::NotificationParams::~NotificationParams() {}
-} // quick_unlock
+} // namespace quick_unlock
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698