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

Unified Diff: chrome/browser/resources/settings/device_page/storage.js

Issue 2676743003: MD Settings: Hide sections in guest mode (Closed)
Patch Set: Fix closure Created 3 years, 10 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 | « chrome/browser/resources/settings/device_page/storage.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/device_page/storage.js
diff --git a/chrome/browser/resources/settings/device_page/storage.js b/chrome/browser/resources/settings/device_page/storage.js
index b10445da3f3c7a127efe7284ee485b5aa05874ab..84453c690d6e69289bf54520ffc7111272812032 100644
--- a/chrome/browser/resources/settings/device_page/storage.js
+++ b/chrome/browser/resources/settings/device_page/storage.js
@@ -49,6 +49,12 @@ Polymer({
value: false,
},
+ /** @private */
+ isGuest_: {
+ type: Boolean,
+ value: function() { return loadTimeData.getBoolean('isGuest'); }
+ },
+
/** @private {settings.StorageSizeStat} */
sizeStat_: Object,
},
« no previous file with comments | « chrome/browser/resources/settings/device_page/storage.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698