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

Side by Side Diff: remoting/webapp/me2mom/host_plugin_proto.js

Issue 8336004: Improve web-app type safety. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/me2mom/debug_log.js ('k') | remoting/webapp/me2mom/l10n.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains type definitions for the host plugin. It is used only 5 // This file contains type definitions for the host plugin. It is used only
6 // with JSCompiler to verify the type-correctness of our code. 6 // with JSCompiler to verify the type-correctness of our code.
7 7
8 /** @suppress {duplicate} */ 8 /** @suppress {duplicate} */
9 var remoting = remoting || {}; 9 var remoting = remoting || {};
10 10
(...skipping 17 matching lines...) Expand all
28 /** @type {number} */ remoting.HostPlugin.prototype.state; 28 /** @type {number} */ remoting.HostPlugin.prototype.state;
29 29
30 /** @type {number} */ remoting.HostPlugin.prototype.STARTING; 30 /** @type {number} */ remoting.HostPlugin.prototype.STARTING;
31 /** @type {number} */ remoting.HostPlugin.prototype.REQUESTED_ACCESS_CODE; 31 /** @type {number} */ remoting.HostPlugin.prototype.REQUESTED_ACCESS_CODE;
32 /** @type {number} */ remoting.HostPlugin.prototype.RECEIVED_ACCESS_CODE; 32 /** @type {number} */ remoting.HostPlugin.prototype.RECEIVED_ACCESS_CODE;
33 /** @type {number} */ remoting.HostPlugin.prototype.CONNECTED; 33 /** @type {number} */ remoting.HostPlugin.prototype.CONNECTED;
34 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTED; 34 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTED;
35 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTING; 35 /** @type {number} */ remoting.HostPlugin.prototype.DISCONNECTING;
36 /** @type {number} */ remoting.HostPlugin.prototype.ERROR; 36 /** @type {number} */ remoting.HostPlugin.prototype.ERROR;
37 37
38 /** @type {string} */ remoting.HostPlugin.prototype.accessCode;
38 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime; 39 /** @type {number} */ remoting.HostPlugin.prototype.accessCodeLifetime;
39 40
40 /** @type {string} */ remoting.HostPlugin.prototype.client; 41 /** @type {string} */ remoting.HostPlugin.prototype.client;
41 42
42 /** @type {function(boolean):void} */ 43 /** @type {function(boolean):void} */
43 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged; 44 remoting.HostPlugin.prototype.onNatTraversalPolicyChanged;
OLDNEW
« no previous file with comments | « remoting/webapp/me2mom/debug_log.js ('k') | remoting/webapp/me2mom/l10n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698