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

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

Issue 13778004: Start in elevated mode when creating a new managed user profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a startup elevation flag. Created 7 years, 8 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/managed_user_settings.js
diff --git a/chrome/browser/resources/options/managed_user_settings.js b/chrome/browser/resources/options/managed_user_settings.js
index 5132bd130b13610f8204b54b41ac15798d9f9860..fb51882ed4ad6f87603761f44b7bf6f5477ea957 100644
--- a/chrome/browser/resources/options/managed_user_settings.js
+++ b/chrome/browser/resources/options/managed_user_settings.js
@@ -108,7 +108,6 @@ cr.define('options', function() {
}
if (!$('use-passphrase-checkbox').checked)
chrome.send('resetPassphrase');
- chrome.send('confirmManagedUserSettings');
SettingsDialog.prototype.handleConfirm.call(this);
},
@@ -161,6 +160,7 @@ cr.define('options', function() {
// Reset the authentication of the custodian.
this.authenticationState = ManagedUserAuthentication.UNAUTHENTICATED;
chrome.send('setElevated', [false]);
+ chrome.send('confirmManagedUserSettings');
},
};

Powered by Google App Engine
This is Rietveld 408576698