| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 subpage: ['sync'], | 208 subpage: ['sync'], |
| 209 }, | 209 }, |
| 210 <if expr="chromeos"> | 210 <if expr="chromeos"> |
| 211 { | 211 { |
| 212 url: '/quickUnlock/authenticate', | 212 url: '/quickUnlock/authenticate', |
| 213 page: 'basic', | 213 page: 'basic', |
| 214 section: 'people', | 214 section: 'people', |
| 215 subpage: ['quick-unlock-authenticate'], | 215 subpage: ['quick-unlock-authenticate'], |
| 216 }, | 216 }, |
| 217 { | 217 { |
| 218 url: '/quickUnlock/chooseMethod', |
| 219 page: 'basic', |
| 220 section: 'people', |
| 221 subpage: ['quick-unlock-choose-method'], |
| 222 }, |
| 223 { |
| 218 url: '/accounts', | 224 url: '/accounts', |
| 219 page: 'basic', | 225 page: 'basic', |
| 220 section: 'people', | 226 section: 'people', |
| 221 subpage: ['users'], | 227 subpage: ['users'], |
| 222 }, | 228 }, |
| 223 </if> | 229 </if> |
| 224 { | 230 { |
| 225 url: '/privacy', | 231 url: '/privacy', |
| 226 page: 'advanced', | 232 page: 'advanced', |
| 227 section: 'privacy', | 233 section: 'privacy', |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 window.history.replaceState(historicRoute, document.title); | 642 window.history.replaceState(historicRoute, document.title); |
| 637 } | 643 } |
| 638 | 644 |
| 639 return; | 645 return; |
| 640 } | 646 } |
| 641 } | 647 } |
| 642 | 648 |
| 643 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); | 649 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); |
| 644 }, | 650 }, |
| 645 }); | 651 }); |
| OLD | NEW |