| Index: chrome/browser/resources/md_history/history.js
|
| diff --git a/chrome/browser/resources/md_history/history.js b/chrome/browser/resources/md_history/history.js
|
| index d25e8e92e1a2bba7eb5a35d545fdfa19c97e8ce8..522e8f9b32adc214841785c03666f0e42515827b 100644
|
| --- a/chrome/browser/resources/md_history/history.js
|
| +++ b/chrome/browser/resources/md_history/history.js
|
| @@ -58,14 +58,10 @@ function historyResult(info, results) {
|
| */
|
| function showNotification(
|
| hasSyncedResults, includeOtherFormsOfBrowsingHistory) {
|
| - // TODO(msramek): |hasSyncedResults| was used in the old WebUI to show
|
| - // the message about other signed-in devices. This message does not exist
|
| - // in the MD history anymore, so the parameter is not needed. Remove it
|
| - // when WebUI is removed and this becomes the only client of
|
| - // BrowsingHistoryHandler.
|
| waitForAppUpgrade().then(function() {
|
| - /** @type {HistoryAppElement} */ ($('history-app')).showSidebarFooter =
|
| - includeOtherFormsOfBrowsingHistory;
|
| + var app = /** @type {HistoryAppElement} */ ($('history-app'));
|
| + app.showSidebarFooter = includeOtherFormsOfBrowsingHistory;
|
| + app.hasSyncedResults = hasSyncedResults;
|
| });
|
| }
|
|
|
|
|