| Index: remoting/webapp/host_native_messaging.js
|
| diff --git a/remoting/webapp/host_native_messaging.js b/remoting/webapp/host_native_messaging.js
|
| index 64c6cd078a92459283d9e20a1383f78f290e8e9e..8ed628c9120bc2309a0b779d0674673677b773b0 100644
|
| --- a/remoting/webapp/host_native_messaging.js
|
| +++ b/remoting/webapp/host_native_messaging.js
|
| @@ -252,7 +252,7 @@ remoting.HostNativeMessaging.prototype.onIncomingMessage_ = function(message) {
|
| case 'getDaemonConfigResponse':
|
| /** @type {*} */
|
| var config = message['config'];
|
| - if (checkType_('config', config, 'string')) {
|
| + if (checkType_('config', config, 'object')) {
|
| callback(config);
|
| }
|
| break;
|
| @@ -372,7 +372,7 @@ remoting.HostNativeMessaging.prototype.generateKeyPair = function(callback) {
|
| * includes these parameters. Changes take effect before the callback
|
| * is called.
|
| *
|
| - * @param {string} config The new config parameters, JSON encoded dictionary.
|
| + * @param {Object} config The new config parameters.
|
| * @param {function(remoting.HostController.AsyncResult):void} callback
|
| * Callback to be called when finished.
|
| * @return {void} Nothing.
|
| @@ -389,7 +389,7 @@ remoting.HostNativeMessaging.prototype.updateDaemonConfig =
|
| * Loads daemon config. The config is passed as a JSON formatted string to the
|
| * callback.
|
| *
|
| - * @param {function(string):void} callback Callback.
|
| + * @param {function(Object):void} callback Callback.
|
| * @return {void} Nothing.
|
| */
|
| remoting.HostNativeMessaging.prototype.getDaemonConfig = function(callback) {
|
| @@ -425,7 +425,7 @@ remoting.HostNativeMessaging.prototype.getUsageStatsConsent =
|
| /**
|
| * Starts the daemon process with the specified configuration.
|
| *
|
| - * @param {string} config Host configuration.
|
| + * @param {Object} config Host configuration.
|
| * @param {boolean} consent Consent to report crash dumps.
|
| * @param {function(remoting.HostController.AsyncResult):void} callback
|
| * Callback.
|
|
|