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

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: Reverted ios change. Created 4 years, 1 month 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 7f36d58d6d4bebdbe35d70c9d20b998cd21dd404..ba2ebace6ad6989d1f5464c58b36bd96c6a33325 100644
--- a/chrome/browser/resources/md_history/app.js
+++ b/chrome/browser/resources/md_history/app.js
@@ -264,21 +264,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();
calamity 2016/11/24 00:29:09 Delete this in synced_device_manager.js
skym 2016/11/29 18:30:55 Done.
- });
- }
- return;
- }
-
+ setForeignSessions: function(sessionList) {
this.set('queryResult_.sessionList', sessionList);
},
« no previous file with comments | « chrome/browser/resources/md_downloads/vulcanized.html ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698