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

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

Issue 2809993004: cros: Implement cryptohome backend for pin.
Patch Set: Rebase, remove some extraneous LOG statements Created 3 years, 7 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 edf5f392d679a48ec378b529e2148a89c89f6bd9..a11c7b43bbb2b7b56276ee0ace98b7c3c1bcdbea 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
@@ -94,13 +94,7 @@ bool QuickUnlockNotificationController::ShouldShowPinNotification(
if (!IsPinEnabled(profile->GetPrefs()))
return false;
- // Do not show the notification if the pin is already set.
- PinStorage* pin_storage =
- QuickUnlockFactory::GetForProfile(profile)->pin_storage();
- if (pin_storage->IsPinSet())
- return false;
-
- // TODO(jdufault): Enable once quick unlock settings land(crbug.com/291747).
+ // TODO(jdufault): Do not show the notification if the pin is already set.
return false;
}

Powered by Google App Engine
This is Rietveld 408576698