| 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 host session. | 7 * Class handling creation and teardown of a remoting host session. |
| 8 * | 8 * |
| 9 * This abstracts a <embed> element and controls the plugin which does the | 9 * This abstracts a <embed> element and controls the plugin which does the |
| 10 * actual remoting work. There should be no UI code inside this class. It | 10 * actual remoting work. There should be no UI code inside this class. It |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 return this.hostDispatcher_.getClient(); | 108 return this.hostDispatcher_.getClient(); |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 /** | 111 /** |
| 112 * Disconnect the it2me session. | 112 * Disconnect the it2me session. |
| 113 * @return {void} Nothing. | 113 * @return {void} Nothing. |
| 114 */ | 114 */ |
| 115 remoting.HostSession.prototype.disconnect = function() { | 115 remoting.HostSession.prototype.disconnect = function() { |
| 116 this.hostDispatcher_.disconnect(); | 116 this.hostDispatcher_.disconnect(); |
| 117 }; | 117 }; |
| 118 |
| 119 |
| 120 /** |
| 121 * @return {void} Nothing. |
| 122 */ |
| 123 remoting.HostSession.prototype.cleanup = function() { |
| 124 this.hostDispatcher_.cleanup(); |
| 125 }; |
| OLD | NEW |