| Index: chrome/browser/resources/settings/route.js
|
| diff --git a/chrome/browser/resources/settings/route.js b/chrome/browser/resources/settings/route.js
|
| index 07b56ba492502dfb9bb73548d8dff23c37a1024c..4aa02d0706bc6092c5713fc47c81e4f375347a3d 100644
|
| --- a/chrome/browser/resources/settings/route.js
|
| +++ b/chrome/browser/resources/settings/route.js
|
| @@ -91,11 +91,6 @@
|
| r.ADVANCED = new Route('/advanced');
|
| r.ABOUT = new Route('/help');
|
|
|
| - // Navigable dialogs. These are the only non-section children of root pages.
|
| - // These are disfavored. If we add anymore, we should add explicit support.
|
| - r.SIGN_OUT = r.BASIC.createChild('/signOut');
|
| - r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData');
|
| -
|
| <if expr="chromeos">
|
| r.INTERNET = r.BASIC.createSection('/internet', 'internet');
|
| r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail');
|
| @@ -132,6 +127,11 @@
|
|
|
| r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
|
| r.CERTIFICATES = r.PRIVACY.createChild('/certificates');
|
| +
|
| + // CLEAR_BROWSER_DATA is the only navigable dialog route. It's the only child
|
| + // of a root page that's not a section. Don't add any more routes like these.
|
| + // If more navigable dialogs are needed, add explicit support in Route.
|
| + r.CLEAR_BROWSER_DATA = r.ADVANCED.createChild('/clearBrowserData');
|
|
|
| r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings');
|
| r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all');
|
|
|