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

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

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge Created 3 years, 5 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/fingerprint_list.js
diff --git a/chrome/browser/resources/settings/people_page/fingerprint_list.js b/chrome/browser/resources/settings/people_page/fingerprint_list.js
index 2fbc3d8a1d1a1d6819aba51ac95884faff32c1d7..d6c142e086815f5ec6904485d1999fbc3ebaf9be 100644
--- a/chrome/browser/resources/settings/people_page/fingerprint_list.js
+++ b/chrome/browser/resources/settings/people_page/fingerprint_list.js
@@ -62,10 +62,10 @@ Polymer({
* @protected
*/
currentRouteChanged: function(newRoute, oldRoute) {
- if (newRoute != settings.Route.FINGERPRINT) {
+ if (newRoute != settings.routes.FINGERPRINT) {
if (this.browserProxy_)
this.browserProxy_.endCurrentAuthentication();
- } else if (oldRoute == settings.Route.LOCK_SCREEN) {
+ } else if (oldRoute == settings.routes.LOCK_SCREEN) {
// Start fingerprint authentication when going from LOCK_SCREEN to
// FINGERPRINT page.
this.browserProxy_.startAuthentication();
@@ -166,7 +166,7 @@ Polymer({
*/
onScreenLocked_: function(screenIsLocked) {
if (!screenIsLocked &&
- settings.getCurrentRoute() == settings.Route.FINGERPRINT) {
+ settings.getCurrentRoute() == settings.routes.FINGERPRINT) {
this.onSetupFingerprintDialogClose_();
}
},

Powered by Google App Engine
This is Rietveld 408576698