| Index: chrome/browser/resources/md_history/app.js
|
| diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js
|
| index c1de3c39eac53155f0d199d85059a5de812f9b0e..13f5e88e674e85131e8572c0e3b5bc3939e0f6f0 100644
|
| --- a/chrome/browser/resources/md_history/app.js
|
| +++ b/chrome/browser/resources/md_history/app.js
|
| @@ -8,8 +8,11 @@ Polymer({
|
| behaviors: [Polymer.IronScrollTargetBehavior],
|
|
|
| properties: {
|
| + // Used to display notices for profile sign-in status.
|
| showSidebarFooter: Boolean,
|
|
|
| + hasSyncedResults: Boolean,
|
| +
|
| // The id of the currently selected page.
|
| selectedPage_: {type: String, observer: 'unselectAll'},
|
|
|
| @@ -293,6 +296,16 @@ Polymer({
|
| },
|
|
|
| /**
|
| + * @param {boolean} hasSyncedResults
|
| + * @param {string} selectedPage
|
| + * @return {boolean} Whether the (i) synced results notice should be shown.
|
| + * @private
|
| + */
|
| + showSyncNotice_: function(hasSyncedResults, selectedPage) {
|
| + return hasSyncedResults && selectedPage != 'syncedTabs';
|
| + },
|
| +
|
| + /**
|
| * @param {string} page
|
| * @private
|
| */
|
|
|