| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 }); |
| OLD | NEW |