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

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

Issue 2077473002: MD History: add sign in promo in synced tabs when user isn't logged in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/app.js
diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js
index 93f805653292a613e3cc88f2c9e31bbb1b6a2616..1e9e20425a6430bf66f3f9f72fed27f8e9c76e2b 100644
--- a/chrome/browser/resources/md_history/app.js
+++ b/chrome/browser/resources/md_history/app.js
@@ -222,6 +222,17 @@ Polymer({
},
/**
+ * Update sign in state of synced device manager after user logs in or out.
+ * @param {boolean} isUserSignedIn
+ */
+ updateSignInState: function(isUserSignedIn) {
+ var syncedDeviceManagerElem =
+ /** @type {HistorySyncedDeviceManagerElement} */this
+ .$$('history-synced-device-manager');
+ syncedDeviceManagerElem.updateSignInState(isUserSignedIn);
+ },
+
+ /**
* @param {string} selectedPage
* @return {boolean}
* @private

Powered by Google App Engine
This is Rietveld 408576698