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

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

Issue 2171513004: MD History: Hide sign in guide in guest mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 4 years, 5 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/synced_device_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/synced_device_manager.html
diff --git a/chrome/browser/resources/md_history/synced_device_manager.html b/chrome/browser/resources/md_history/synced_device_manager.html
index b7637ed5c2508d42f1b653c104d65a686258a962..703d8db7ba24e6214314f7f78ab6b8b42aff03ad 100644
--- a/chrome/browser/resources/md_history/synced_device_manager.html
+++ b/chrome/browser/resources/md_history/synced_device_manager.html
@@ -73,10 +73,12 @@
</template>
</div>
<div id="no-synced-tabs" class="centered-message"
- hidden="[[!showNoSyncedMessage(signInState_, syncedDevices_.length)]]">
+ hidden="[[!showNoSyncedMessage(signInState_, syncedDevices_.length,
+ guestSession_)]]">
[[noSyncedTabsMessage(fetchingSyncedTabs_)]]
</div>
- <div id="sign-in-guide" hidden$="[[signInState_]]">
+ <div id="sign-in-guide"
+ hidden="[[!showSignInGuide(signInState_, guestSession_)]]">
<div id="illustration"></div>
<div id="sign-in-promo">$i18n{signInPromo}</div>
<div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/synced_device_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698