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

Unified Diff: chrome/browser/resources/chromeos/login/display_manager.js

Issue 188243003: Merge 254685 "Fixed handling of 'oem_device_requisition' VPD value." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1847/src/
Patch Set: Created 6 years, 9 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/chromeos/login/display_manager.js
===================================================================
--- chrome/browser/resources/chromeos/login/display_manager.js (revision 255205)
+++ chrome/browser/resources/chromeos/login/display_manager.js (working copy)
@@ -596,7 +596,7 @@
*/
onConfirmDeviceRequisitionPrompt_: function(value) {
this.deviceRequisition_ = value;
- chrome.send('setDeviceRequisition', [value]);
+ chrome.send('setDeviceRequisition', [value == '' ? 'none' : value]);
},
/**
@@ -633,8 +633,11 @@
}
this.deviceRequisitionRemoraDialog_.show(
loadTimeData.getString('deviceRequisitionRemoraPromptText'),
- function() {
+ function() { // onShow
chrome.send('setDeviceRequisition', ['remora']);
+ },
+ function() { // onCancel
+ chrome.send('setDeviceRequisition', ['none']);
});
},

Powered by Google App Engine
This is Rietveld 408576698