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

Unified Diff: chrome/browser/resources/options2/browser_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/options2/browser_options.js
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 138a000ee994e5c6f44d4efb40f3f41198300556..51b84199efe2234dfaf95562e5cfcc820759c1be 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -195,7 +195,10 @@ cr.define('options', function() {
// Hide the startup section in Guest mode.
$('startup-section').hidden = true;
- } else {
+ } else if (localStrings.getString('current_user_is_ephemeral') !=
+ 'true') {
+ // Enable picture changing if the user is neither a guest nor
+ // ephemeral.
Ivan Korotkov 2012/03/01 20:16:30 #change-picture-caption should be made invisible a
use bartfab instead 2012/03/05 18:07:32 Done.
$('account-picture-wrapper').onclick = function(event) {
OptionsPage.navigateToPage('changePicture');
};

Powered by Google App Engine
This is Rietveld 408576698