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