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

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

Issue 2091143002: Add the authenticate screen for the quick unlock settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pin-unlock-settings-keyboard-fixes
Patch Set: Address 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 }, 194 },
195 </if> 195 </if>
196 { 196 {
197 url: '/syncSetup', 197 url: '/syncSetup',
198 page: 'basic', 198 page: 'basic',
199 section: 'people', 199 section: 'people',
200 subpage: ['sync'], 200 subpage: ['sync'],
201 }, 201 },
202 <if expr="chromeos"> 202 <if expr="chromeos">
203 { 203 {
204 url: '/quickUnlock/authenticate',
205 page: 'basic',
206 section: 'people',
207 subpage: ['quick-unlock-authenticate'],
208 },
209 {
204 url: '/accounts', 210 url: '/accounts',
205 page: 'basic', 211 page: 'basic',
206 section: 'people', 212 section: 'people',
207 subpage: ['users'], 213 subpage: ['users'],
208 }, 214 },
209 </if> 215 </if>
210 { 216 {
211 url: '/advanced', 217 url: '/advanced',
212 page: 'advanced', 218 page: 'advanced',
213 section: 'privacy', 219 section: 'privacy',
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 window.history.replaceState(historicState, document.title); 624 window.history.replaceState(historicState, document.title);
619 } 625 }
620 626
621 return; 627 return;
622 } 628 }
623 } 629 }
624 630
625 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 631 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
626 }, 632 },
627 }); 633 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698