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

Side by Side Diff: chrome/browser/resources/md_history/app.js

Issue 2361513003: MD History: Update sign in state in data source (Closed)
Patch Set: remove downloads Created 4 years, 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 Polymer({ 5 Polymer({
6 is: 'history-app', 6 is: 'history-app',
7 7
8 behaviors: [Polymer.IronScrollTargetBehavior], 8 behaviors: [Polymer.IronScrollTargetBehavior],
9 9
10 properties: { 10 properties: {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 routeData_: Object, 56 routeData_: Object,
57 57
58 // The query params for the page. 58 // The query params for the page.
59 queryParams_: Object, 59 queryParams_: Object,
60 60
61 // True if the window is narrow enough for the page to have a drawer. 61 // True if the window is narrow enough for the page to have a drawer.
62 hasDrawer_: Boolean, 62 hasDrawer_: Boolean,
63 63
64 isUserSignedIn_: { 64 isUserSignedIn_: {
65 type: Boolean, 65 type: Boolean,
66 // Updated on synced-device-manager attach by chrome.sending 66 // Updated on synced-device-manager.
67 // 'otherDevicesInitialized'.
68 value: loadTimeData.getBoolean('isUserSignedIn'), 67 value: loadTimeData.getBoolean('isUserSignedIn'),
69 }, 68 },
70 69
71 toolbarShadow_: { 70 toolbarShadow_: {
72 type: Boolean, 71 type: Boolean,
73 reflectToAttribute: true, 72 reflectToAttribute: true,
74 notify: true, 73 notify: true,
75 } 74 }
76 }, 75 },
77 76
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 break; 369 break;
371 } 370 }
372 break; 371 break;
373 } 372 }
374 373
375 md_history.BrowserService.getInstance().recordHistogram( 374 md_history.BrowserService.getInstance().recordHistogram(
376 'History.HistoryPageView', histogramValue, HistoryPageViewHistogram.END 375 'History.HistoryPageView', histogramValue, HistoryPageViewHistogram.END
377 ); 376 );
378 }, 377 },
379 }); 378 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.crisper.js » ('j') | chrome/browser/ui/webui/history_login_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698