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

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

Issue 2098663002: Add settings screen that lets a user setup a PIN to unlock their device with. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pin-unlock-settings-choose-method
Patch Set: Address feedback 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 * dialog: (string|undefined), 7 * dialog: (string|undefined),
8 * page: string, 8 * page: string,
9 * section: string, 9 * section: string,
10 * subpage: !Array<string>, 10 * subpage: !Array<string>,
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 section: 'people', 214 section: 'people',
215 subpage: ['quick-unlock-authenticate'], 215 subpage: ['quick-unlock-authenticate'],
216 }, 216 },
217 { 217 {
218 url: '/quickUnlock/chooseMethod', 218 url: '/quickUnlock/chooseMethod',
219 page: 'basic', 219 page: 'basic',
220 section: 'people', 220 section: 'people',
221 subpage: ['quick-unlock-choose-method'], 221 subpage: ['quick-unlock-choose-method'],
222 }, 222 },
223 { 223 {
224 url: '/quickUnlock/setupPin',
225 page: 'basic',
226 section: 'people',
227 subpage: ['quick-unlock-choose-method', 'quick-unlock-setup-pin'],
228 },
229 {
224 url: '/accounts', 230 url: '/accounts',
225 page: 'basic', 231 page: 'basic',
226 section: 'people', 232 section: 'people',
227 subpage: ['users'], 233 subpage: ['users'],
228 }, 234 },
229 </if> 235 </if>
230 { 236 {
231 url: '/privacy', 237 url: '/privacy',
232 page: 'advanced', 238 page: 'advanced',
233 section: 'privacy', 239 section: 'privacy',
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 window.history.replaceState(historicRoute, document.title); 648 window.history.replaceState(historicRoute, document.title);
643 } 649 }
644 650
645 return; 651 return;
646 } 652 }
647 } 653 }
648 654
649 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 655 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
650 }, 656 },
651 }); 657 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698