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

Unified Diff: chrome/browser/resources/options/chromeos/kiosk_apps.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_apps.js
diff --git a/chrome/browser/resources/options/chromeos/kiosk_apps.js b/chrome/browser/resources/options/chromeos/kiosk_apps.js
index fa70bb495f9271051502453f0d38df4f48772c14..de2bfe878ac1009535924bbcf2afdbbae428e1a9 100644
--- a/chrome/browser/resources/options/chromeos/kiosk_apps.js
+++ b/chrome/browser/resources/options/chromeos/kiosk_apps.js
@@ -40,9 +40,11 @@ cr.define('options', function() {
$('kiosk-app-id-edit').addEventListener('keypress',
this.handleAppIdInputKeyPressed_);
- Preferences.getInstance().addEventListener('cros.kiosk.apps',
+ Preferences.getInstance().addEventListener(
+ 'cros.accounts.deviceLocalAccounts',
this.loadAppsIfVisible_.bind(this));
- Preferences.getInstance().addEventListener('cros.kiosk.auto_launch',
+ Preferences.getInstance().addEventListener(
+ 'cros.accounts.deviceLocalAccountAutoLoginId',
this.loadAppsIfVisible_.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698