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

Side by Side Diff: remoting/webapp/client_session.js

Issue 9860045: Address remaining nits for r129104. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/client_screen.js ('k') | remoting/webapp/remoting.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Class handling creation and teardown of a remoting client session. 7 * Class handling creation and teardown of a remoting client session.
8 * 8 *
9 * The ClientSession class controls lifetime of the client plugin 9 * The ClientSession class controls lifetime of the client plugin
10 * object and provides the plugin with the functionality it needs to 10 * object and provides the plugin with the functionality it needs to
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 }; 82 };
83 83
84 /** @enum {number} */ 84 /** @enum {number} */
85 remoting.ClientSession.ConnectionError = { 85 remoting.ClientSession.ConnectionError = {
86 UNKNOWN: -1, 86 UNKNOWN: -1,
87 NONE: 0, 87 NONE: 0,
88 HOST_IS_OFFLINE: 1, 88 HOST_IS_OFFLINE: 1,
89 SESSION_REJECTED: 2, 89 SESSION_REJECTED: 2,
90 INCOMPATIBLE_PROTOCOL: 3, 90 INCOMPATIBLE_PROTOCOL: 3,
91 NETWORK_FAILURE: 4, 91 NETWORK_FAILURE: 4,
92 HOST_IS_DISABLED: 5, 92 HOST_OVERLOAD: 5,
simonmorris 2012/03/27 22:03:02 The comma in this line breaks JSCompiler (fixed in
Sergey Ulanov 2012/03/27 22:08:47 Done.
Sergey Ulanov 2012/03/27 22:08:47 Done.
93 }; 93 };
94 94
95 // The mode of this session. 95 // The mode of this session.
96 /** @enum {number} */ 96 /** @enum {number} */
97 remoting.ClientSession.Mode = { 97 remoting.ClientSession.Mode = {
98 IT2ME: 0, 98 IT2ME: 0,
99 ME2ME: 1 99 ME2ME: 1
100 }; 100 };
101 101
102 /** 102 /**
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 }; 499 };
500 500
501 /** 501 /**
502 * Logs statistics. 502 * Logs statistics.
503 * 503 *
504 * @param {remoting.ClientSession.PerfStats} stats 504 * @param {remoting.ClientSession.PerfStats} stats
505 */ 505 */
506 remoting.ClientSession.prototype.logStatistics = function(stats) { 506 remoting.ClientSession.prototype.logStatistics = function(stats) {
507 this.logToServer.logStatistics(stats, this.mode); 507 this.logToServer.logStatistics(stats, this.mode);
508 }; 508 };
OLDNEW
« no previous file with comments | « remoting/webapp/client_screen.js ('k') | remoting/webapp/remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698