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

Unified Diff: chrome/browser/resources/md_history/app.js

Issue 2517243002: [Sync] Removing complexity around PROXY_TABS now that empty sessions are provided when disabled. (Closed)
Patch Set: Rebase and re-vulcanize after conflict. Created 4 years 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 side-by-side diff with in-line comments
Download patch
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 3c26c37faf3a4658a5eb27880b7286d2c164eae3..2a39a590c126be704e4574fc8cbd801048daf089 100644
--- a/chrome/browser/resources/md_history/app.js
+++ b/chrome/browser/resources/md_history/app.js
@@ -266,21 +266,8 @@ Polymer({
/**
* @param {!Array<!ForeignSession>} sessionList Array of objects describing
* the sessions from other devices.
- * @param {boolean} isTabSyncEnabled Is tab sync enabled for this profile?
*/
- setForeignSessions: function(sessionList, isTabSyncEnabled) {
- if (!isTabSyncEnabled) {
- var syncedDeviceManagerElem =
- /** @type {HistorySyncedDeviceManagerElement} */this
- .$$('history-synced-device-manager');
- if (syncedDeviceManagerElem) {
- md_history.ensureLazyLoaded().then(function() {
- syncedDeviceManagerElem.tabSyncDisabled();
- });
- }
- return;
- }
-
+ setForeignSessions: function(sessionList) {
this.set('queryResult_.sessionList', sessionList);
},
« no previous file with comments | « chrome/browser/resources/history/other_devices.js ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698