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

Unified Diff: chrome/browser/resources/options2/password_manager.js

Issue 9464053: Hide/Disable several (meaningless) options in Settings uber-page for Guest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: No change picture button anymore Created 8 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/options2/password_manager.js
diff --git a/chrome/browser/resources/options2/password_manager.js b/chrome/browser/resources/options2/password_manager.js
index 6ef64edfba6e7aec32eb70a63b7cc63fe274da8b..cca8bc3297993db37ec7c53c27a111c59b0c7945 100644
--- a/chrome/browser/resources/options2/password_manager.js
+++ b/chrome/browser/resources/options2/password_manager.js
@@ -71,7 +71,7 @@ cr.define('options', function() {
/** @inheritDoc */
canShowPage: function() {
- return !AdvancedOptions.GuestModeActive();
+ return !(cr.isChromeOS && AccountsOptions.loggedInAsGuest());
},
/** @inheritDoc */

Powered by Google App Engine
This is Rietveld 408576698