From 11cd112650c6c51b270eeae329d63a7cd732e605 Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Wed, 11 Jan 2012 23:25:05 +0000 Subject: 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 --- remoting/webapp/wcs_iq_client_proto.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 remoting/webapp/wcs_iq_client_proto.js (limited to 'remoting/webapp/wcs_iq_client_proto.js') 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.): 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) {}; -- cgit v1.1