diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 23:25:05 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 23:25:05 +0000 |
commit | 11cd112650c6c51b270eeae329d63a7cd732e605 (patch) | |
tree | 06d1122825e90616c5410157d83750800baf4540 /remoting/webapp/wcs_iq_client_proto.js | |
parent | 2c9f0def901b383bb003c4d10c198cabec1277f6 (diff) | |
download | chromium_src-11cd112650c6c51b270eeae329d63a7cd732e605.zip chromium_src-11cd112650c6c51b270eeae329d63a7cd732e605.tar.gz chromium_src-11cd112650c6c51b270eeae329d63a7cd732e605.tar.bz2 |
Rename webapp_it2me to remoting_webapp and move it from webapp/me2mom to webapp/
The remoting webapp is not it2me specific anymore. Renaming stuff and
moving it to avoid confusion, particularly for the newcomers.
Review URL: http://codereview.chromium.org/9148043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/wcs_iq_client_proto.js')
-rw-r--r-- | remoting/webapp/wcs_iq_client_proto.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/remoting/webapp/wcs_iq_client_proto.js b/remoting/webapp/wcs_iq_client_proto.js new file mode 100644 index 0000000..3a484260 --- /dev/null +++ b/remoting/webapp/wcs_iq_client_proto.js @@ -0,0 +1,29 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// This file contains type definitions for the WCS IQ client. It is used only +// with JSCompiler to verify the type-correctness of our code. + +/** @suppress {duplicate} */ +var remoting = remoting || {}; + +/** @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) {}; |