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

Unified Diff: chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js

Issue 14306004: Put Kiosk App parameters into device settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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/chromeos/kiosk_app_disable_bailout_confirm.js
diff --git a/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js b/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js
index c8095c5777f10da2932ba294234f234d96356a3d..caa1ee3270428270624be6d1929d3d65f897d59c 100644
--- a/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js
+++ b/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js
@@ -31,7 +31,9 @@ cr.define('options', function() {
$('kiosk-disable-bailout-confirm-button').onclick = function(e) {
OptionsPage.closeOverlay();
- Preferences.setBooleanPref(el.pref, true);
+ Preferences.setBooleanPref(
+ 'cros.accounts.deviceLocalAccountAutoLoginBailoutEnabled',
+ false, true);
};
$('kiosk-disable-bailout-cancel-button').onclick = this.handleCancel;
},

Powered by Google App Engine
This is Rietveld 408576698