diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-15 00:14:18 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-15 00:14:18 +0000 |
commit | 57d86b9cf1db431837f879c0cb5ad98a74a5e83f (patch) | |
tree | 6ae010ba87eb7ac00277f2d0d2f450315f8c53eb /remoting/webapp/js_proto | |
parent | 969c22effa699a772fa970833808639b9d39c371 (diff) | |
download | chromium_src-57d86b9cf1db431837f879c0cb5ad98a74a5e83f.zip chromium_src-57d86b9cf1db431837f879c0cb5ad98a74a5e83f.tar.gz chromium_src-57d86b9cf1db431837f879c0cb5ad98a74a5e83f.tar.bz2 |
[Chromoting] Update jscompile target to use JS files from gypi.
The old version parses the main.html file to get the list of JS files
to verify. Since we're moving to auto-generate this file, we can safely get
the Js files from the same gypi since that's the same source being used
to generate the HTML file.
This also adds the WCS sandbox files to the list of JS files being checked --
they were not being checked as part of the old target because they are not
used in the main.html file.
BUG=
R=jamiewalch@chromium.org
Review URL: https://codereview.chromium.org/163953011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/js_proto')
-rw-r--r-- | remoting/webapp/js_proto/remoting_proto.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/remoting/webapp/js_proto/remoting_proto.js b/remoting/webapp/js_proto/remoting_proto.js index a1092c5..52252e1 100644 --- a/remoting/webapp/js_proto/remoting_proto.js +++ b/remoting/webapp/js_proto/remoting_proto.js @@ -163,3 +163,24 @@ remoting.ViewerPlugin = function() { }; /** @param {string} message The message to send to the host. */ remoting.ViewerPlugin.prototype.postMessage = function(message) {}; + + +/** @constructor + */ +remoting.WcsIqClient = function() {}; + +/** @param {function(Array.<string>): void} onMsg The function called when a + * message is received. + * @return {void} Nothing. */ +remoting.WcsIqClient.prototype.setOnMessage = function(onMsg) {}; + +/** @return {void} Nothing. */ +remoting.WcsIqClient.prototype.connectChannel = function() {}; + +/** @param {string} stanza An IQ stanza. + * @return {void} Nothing. */ +remoting.WcsIqClient.prototype.sendIq = function(stanza) {}; + +/** @param {string} token An OAuth2 access token. + * @return {void} Nothing. */ +remoting.WcsIqClient.prototype.updateAccessToken = function(token) {}; |