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

Unified Diff: chrome/browser/resources/settings/people_page/quick_unlock_password_detect_behavior.js

Issue 2208473007: Rework quick unlock settings to follow new specs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix closure (bad merge) Created 4 years, 4 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/resources/settings/people_page/quick_unlock_password_detect_behavior.js
diff --git a/chrome/browser/resources/settings/people_page/quick_unlock_password_detect_behavior.js b/chrome/browser/resources/settings/people_page/quick_unlock_password_detect_behavior.js
deleted file mode 100644
index 24e98d440547d6a26e42ecad029b0cfa6e974d06..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/people_page/quick_unlock_password_detect_behavior.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview
- * Contains utilities for verifying the user has entered an account password.
- */
-
-/** @polymerBehavior */
-var QuickUnlockPasswordDetectBehavior = {
- properties: {
- setModes: Object
- },
-
- /**
- * Verifies that there is an account password available for the
- * chrome.quickUnlockPrivate.setModes call. If there is no password, this will
- * redirect to the authenticate screen.
- */
- askForPasswordIfUnset: function() {
- if (!this.setModes)
- settings.navigateTo(settings.Route.QUICK_UNLOCK_AUTHENTICATE);
- }
-};

Powered by Google App Engine
This is Rietveld 408576698