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

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: Complete, tested implementation - ready for review. 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..a71a98bf20ff60a35b9b04d49373c3d5f43a1348 100644
--- a/chrome/browser/resources/options/personal_options.js
+++ b/chrome/browser/resources/options/personal_options.js
@@ -123,6 +123,9 @@ cr.define('options', function() {
// guest mode.
$('enable-screen-lock').disabled = true;
$('change-picture-button').disabled = true;
+ } else if (localStrings.getString('current_user_is_ephemeral')) {
csilv 2012/03/01 02:10:42 should be: if (localStrings.getString('current_use
use bartfab instead 2012/03/01 05:13:59 Done.
+ // Disable the change-picture-button for ephemeral users.
+ $('change-picture-button').disabled = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698