| OLD | NEW |
| 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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 * For example, if attempting a connection using a cached JID, host-offline | 598 * For example, if attempting a connection using a cached JID, host-offline |
| 599 * errors should not be logged because the JID will be refreshed and the | 599 * errors should not be logged because the JID will be refreshed and the |
| 600 * connection retried. | 600 * connection retried. |
| 601 * | 601 * |
| 602 * @param {boolean} enable True to log host-offline errors; false to suppress. | 602 * @param {boolean} enable True to log host-offline errors; false to suppress. |
| 603 */ | 603 */ |
| 604 remoting.ClientSession.prototype.logHostOfflineErrors = function(enable) { | 604 remoting.ClientSession.prototype.logHostOfflineErrors = function(enable) { |
| 605 this.logHostOfflineErrors_ = enable; | 605 this.logHostOfflineErrors_ = enable; |
| 606 }; | 606 }; |
| 607 | 607 |
| OLD | NEW |