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

Unified Diff: chrome/browser/resources/history/other_devices.js

Issue 2361513003: MD History: Update sign in state in data source (Closed)
Patch Set: move Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/other_devices.js
diff --git a/chrome/browser/resources/history/other_devices.js b/chrome/browser/resources/history/other_devices.js
index 2ba6f76f246f08eecd50052be2461b93a57c2ee6..62d817f6a885ad3510e26d25a14f37f62a66e9e2 100644
--- a/chrome/browser/resources/history/other_devices.js
+++ b/chrome/browser/resources/history/other_devices.js
@@ -585,6 +585,8 @@ function load() {
$('search-field').addEventListener('search', doSearch);
$('search-button').addEventListener('click', doSearch);
+ cr.addWebUIListener('sign-in-state-updated', updateSignInState);
+
chrome.send('otherDevicesInitialized');
}
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698