OLD | NEW |
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 Loading... |
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 Loading... |
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 }); |
OLD | NEW |