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

Side by Side Diff: chrome/browser/resources/settings/people_page/people_page.js

Issue 2210933004: Settings Router Refactor: Kill settings-router. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge yet again because this conflicts with everything Created 4 years, 4 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
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 * @fileoverview 6 * @fileoverview
7 * 'settings-people-page' is the settings page containing sign-in settings. 7 * 'settings-people-page' is the settings page containing sign-in settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-people-page', 10 is: 'settings-people-page',
11 11
12 behaviors: [ 12 behaviors: [
13 WebUIListenerBehavior, 13 WebUIListenerBehavior,
14 ], 14 ],
15 15
16 properties: { 16 properties: {
17 /** 17 /**
18 * The current active route.
19 */
20 currentRoute: {
21 type: Object,
22 notify: true,
23 },
24
25 /**
26 * Preferences state. 18 * Preferences state.
27 */ 19 */
28 prefs: { 20 prefs: {
29 type: Object, 21 type: Object,
30 notify: true, 22 notify: true,
31 }, 23 },
32 24
33 /** 25 /**
34 * The current sync status, supplied by SyncBrowserProxy. 26 * The current sync status, supplied by SyncBrowserProxy.
35 * @type {?settings.SyncStatus} 27 * @type {?settings.SyncStatus}
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (!syncStatus) 310 if (!syncStatus)
319 return ''; 311 return '';
320 if (syncStatus.hasError) 312 if (syncStatus.hasError)
321 return 'settings:sync-problem'; 313 return 'settings:sync-problem';
322 if (syncStatus.managed) 314 if (syncStatus.managed)
323 return 'settings:sync-disabled'; 315 return 'settings:sync-disabled';
324 316
325 return 'settings:done'; 317 return 'settings:done';
326 }, 318 },
327 }); 319 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698