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

Unified Diff: chrome/browser/resources/options/personal_options.js

Issue 9405035: Implement ephemeral users (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. 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/options/personal_options.js
diff --git a/chrome/browser/resources/options/personal_options.js b/chrome/browser/resources/options/personal_options.js
index 1dc9f2820fc179537b04ee243efdf72530ff8486..1dd5eae73b88e7c1ef6308435c0d1cf1c390ce29 100644
--- a/chrome/browser/resources/options/personal_options.js
+++ b/chrome/browser/resources/options/personal_options.js
@@ -123,6 +123,10 @@ cr.define('options', function() {
// guest mode.
$('enable-screen-lock').disabled = true;
$('change-picture-button').disabled = true;
Ivan Korotkov 2012/03/01 13:37:50 Please update options2 accordingly.
use bartfab instead 2012/03/01 18:33:43 Done.
+ } else if (localStrings.getString('current_user_is_ephemeral') ==
+ 'true') {
+ // Disable the change-picture-button for ephemeral users.
+ $('change-picture-button').disabled = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698