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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_router.js

Issue 2097673002: Add a settings screen that lets the user choose how they unlock their device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pin-unlock-settings-authenticate
Patch Set: Adjust for authenticate screen comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @typedef {{ 6 * @typedef {{
7 * url: string, 7 * url: string,
8 * page: string, 8 * page: string,
9 * section: string, 9 * section: string,
10 * subpage: !Array<string>, 10 * subpage: !Array<string>,
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 subpage: ['sync'], 200 subpage: ['sync'],
201 }, 201 },
202 <if expr="chromeos"> 202 <if expr="chromeos">
203 { 203 {
204 url: '/quickUnlock/authenticate', 204 url: '/quickUnlock/authenticate',
205 page: 'basic', 205 page: 'basic',
206 section: 'people', 206 section: 'people',
207 subpage: ['quick-unlock-authenticate'], 207 subpage: ['quick-unlock-authenticate'],
208 }, 208 },
209 { 209 {
210 url: '/quickUnlock/chooseMethod',
211 page: 'basic',
212 section: 'people',
213 subpage: ['quick-unlock-choose-method'],
214 },
215 {
210 url: '/accounts', 216 url: '/accounts',
211 page: 'basic', 217 page: 'basic',
212 section: 'people', 218 section: 'people',
213 subpage: ['users'], 219 subpage: ['users'],
214 }, 220 },
215 </if> 221 </if>
216 { 222 {
217 url: '/advanced', 223 url: '/advanced',
218 page: 'advanced', 224 page: 'advanced',
219 section: 'privacy', 225 section: 'privacy',
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 window.history.replaceState(historicState, document.title); 630 window.history.replaceState(historicState, document.title);
625 } 631 }
626 632
627 return; 633 return;
628 } 634 }
629 } 635 }
630 636
631 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 637 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
632 }, 638 },
633 }); 639 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698