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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.js

Issue 2689303002: MD Settings: Content Settings: Support guest mode. (Closed)
Patch Set: Rebase 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
Index: chrome/browser/resources/settings/privacy_page/privacy_page.js
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
index d1fb6d9e9510026b27dcad95b891a2c36abee11a..24b6a3105db3f896730fbe485cdd5377eaee5147 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -31,6 +31,12 @@ Polymer({
*/
pageVisibility: Object,
+ /** @private */
+ isGuest_: {
+ type: Boolean,
+ value: function() { return loadTimeData.getBoolean('isGuest'); }
+ },
+
// <if expr="_google_chrome and not chromeos">
// TODO(dbeam): make a virtual.* pref namespace and set/get this normally
// (but handled differently in C++).

Powered by Google App Engine
This is Rietveld 408576698