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

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

Issue 2156413002: Settings Router Refactor: Migrate to settings.Route.navigateTo calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge origin/master Created 4 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/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
index 3b67d36a6a5c0e152b5e0d45eb0cb66aa9d4ed83..c8f1801ddb187dcfb0089cc9733c19fd837b789b 100644
--- 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
@@ -20,11 +20,7 @@ var QuickUnlockPasswordDetectBehavior = [QuickUnlockRoutingBehavior, {
*/
askForPasswordIfUnset: function() {
if (!this.setModes) {
Dan Beam 2016/07/23 00:17:11 nit: drop curlies
tommycli 2016/07/25 16:47:20 Done.
- this.currentRoute = {
- page: 'basic',
- section: 'people',
- subpage: [QuickUnlockScreen.AUTHENTICATE]
- };
+ settings.navigateTo(settings.Route.QUICK_UNLOCK_AUTHENTICATE);
}
}
}];

Powered by Google App Engine
This is Rietveld 408576698