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

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

Issue 2220303002: MD History: Show 'no synced tabs' when tab sync is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/synced_device_manager.js
diff --git a/chrome/browser/resources/md_history/synced_device_manager.js b/chrome/browser/resources/md_history/synced_device_manager.js
index 433fb7f88a5487479147853bbbf669a99f3ef12d..2f67292cf3167c7089617ed4c8ba65463b7ae636 100644
--- a/chrome/browser/resources/md_history/synced_device_manager.js
+++ b/chrome/browser/resources/md_history/synced_device_manager.js
@@ -189,6 +189,13 @@ Polymer({
},
/**
+ * End fetching synced tabs when sync is disabled.
+ */
+ tabSyncDisabled: function() {
+ this.fetchingSyncedTabs_ = false;
tsergeant 2016/08/08 04:49:15 This doesn't quite work as intended in all cases:
lshang 2016/08/09 00:39:29 Done. Thanks for reminding:P
+ },
+
+ /**
* Get called when user's sign in state changes, this will affect UI of synced
* tabs page. Sign in promo gets displayed when user is signed out, and
* different messages are shown when there are no synced tabs.

Powered by Google App Engine
This is Rietveld 408576698