| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 * Mock implementation of ClientPlugin for testing. | 7 * Mock implementation of ClientPlugin for testing. |
| 8 * @suppress {checkTypes} | 8 * @suppress {checkTypes} |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 * @extends {remoting.ClientPluginFactory} | 195 * @extends {remoting.ClientPluginFactory} |
| 196 */ | 196 */ |
| 197 remoting.MockClientPluginFactory = function() {}; | 197 remoting.MockClientPluginFactory = function() {}; |
| 198 | 198 |
| 199 remoting.MockClientPluginFactory.prototype.createPlugin = | 199 remoting.MockClientPluginFactory.prototype.createPlugin = |
| 200 function(container, onExtensionMessage) { | 200 function(container, onExtensionMessage) { |
| 201 return new remoting.MockClientPlugin(container); | 201 return new remoting.MockClientPlugin(container); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 remoting.MockClientPluginFactory.prototype.preloadPlugin = function() {}; | 204 remoting.MockClientPluginFactory.prototype.preloadPlugin = function() {}; |
| OLD | NEW |