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

Unified Diff: remoting/webapp/crd/js/host_controller.js

Issue 1217643002: Added HostListApl implementation to connect to legacy directory and GCD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcd-e2e
Patch Set: changed LegacyHostListApi not to expect auth code with not client ID Created 5 years, 5 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: remoting/webapp/crd/js/host_controller.js
diff --git a/remoting/webapp/crd/js/host_controller.js b/remoting/webapp/crd/js/host_controller.js
index a697af316786428231de8a985803e1c85671aade..613396946471ca1a6c624bbc5d211e4e388de721 100644
--- a/remoting/webapp/crd/js/host_controller.js
+++ b/remoting/webapp/crd/js/host_controller.js
@@ -352,7 +352,7 @@ remoting.HostController.prototype.updatePin = function(newPin, onDone,
return;
}
/** @type {string} */
- var hostId = config['host_id'];
+ var hostId = base.getStringAttr(config, 'host_id');
that.hostDaemonFacade_.getPinHash(hostId, newPin).then(
updateDaemonConfigWithHash, remoting.Error.handler(onError));
}

Powered by Google App Engine
This is Rietveld 408576698