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

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

Issue 1944293004: [MD settings] url change for passwords and languages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 subpage: ['bluetooth-add-device', 'bluetooth-pair-device'], 368 subpage: ['bluetooth-add-device', 'bluetooth-pair-device'],
369 }, 369 },
370 </if> 370 </if>
371 { 371 {
372 url: '/autofill', 372 url: '/autofill',
373 page: 'advanced', 373 page: 'advanced',
374 section: 'passwordsAndForms', 374 section: 'passwordsAndForms',
375 subpage: ['manage-autofill'], 375 subpage: ['manage-autofill'],
376 }, 376 },
377 { 377 {
378 url: '/pw', // TODO(dschuyler): find a better url. 378 url: '/passwords',
379 page: 'advanced', 379 page: 'advanced',
380 section: 'passwordsAndForms', 380 section: 'passwordsAndForms',
381 subpage: [], 381 subpage: [],
382 }, 382 },
383 { 383 {
384 url: '/passwords', 384 url: '/managePasswords',
385 page: 'advanced', 385 page: 'advanced',
386 section: 'passwordsAndForms', 386 section: 'passwordsAndForms',
387 subpage: ['manage-passwords'], 387 subpage: ['manage-passwords'],
388 }, 388 },
389 { 389 {
390 url: '/ln', // TODO(dschuyler): find a better url. 390 url: '/languages',
391 page: 'advanced', 391 page: 'advanced',
392 section: 'languages', 392 section: 'languages',
393 subpage: [], 393 subpage: [],
394 }, 394 },
395 { 395 {
396 url: '/languages', 396 url: '/manageLanguages',
397 page: 'advanced', 397 page: 'advanced',
398 section: 'languages', 398 section: 'languages',
399 subpage: ['manage-languages'], 399 subpage: ['manage-languages'],
400 }, 400 },
401 { 401 {
402 url: '/languages/edit', 402 url: '/languages/edit',
403 page: 'advanced', 403 page: 'advanced',
404 section: 'languages', 404 section: 'languages',
405 subpage: ['language-detail'], 405 subpage: ['language-detail'],
406 }, 406 },
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 window.history.replaceState(historicState, document.title); 527 window.history.replaceState(historicState, document.title);
528 } 528 }
529 529
530 return; 530 return;
531 } 531 }
532 } 532 }
533 533
534 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 534 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
535 }, 535 },
536 }); 536 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698