| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 define("mojo/public/js/lib/interface_endpoint_client", [ | 5 define("mojo/public/js/lib/interface_endpoint_client", [ |
| 6 "console", | 6 "console", |
| 7 "mojo/public/js/codec", | 7 "mojo/public/js/codec", |
| 8 "mojo/public/js/lib/control_message_handler", | 8 "mojo/public/js/lib/control_message_handler", |
| 9 "mojo/public/js/lib/control_message_proxy", | 9 "mojo/public/js/lib/control_message_proxy", |
| 10 "mojo/public/js/lib/interface_endpoint_handle", | 10 "mojo/public/js/lib/interface_endpoint_handle", |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 }; | 225 }; |
| 226 | 226 |
| 227 InterfaceEndpointClient.prototype.queryVersion = function() { | 227 InterfaceEndpointClient.prototype.queryVersion = function() { |
| 228 return this.controlMessageProxy_.queryVersion(); | 228 return this.controlMessageProxy_.queryVersion(); |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 InterfaceEndpointClient.prototype.requireVersion = function(version) { | 231 InterfaceEndpointClient.prototype.requireVersion = function(version) { |
| 232 this.controlMessageProxy_.requireVersion(version); | 232 this.controlMessageProxy_.requireVersion(version); |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 InterfaceEndpointClient.prototype.getEncounteredError = function() { |
| 236 return this.encounteredError_; |
| 237 }; |
| 238 |
| 235 var exports = {}; | 239 var exports = {}; |
| 236 exports.InterfaceEndpointClient = InterfaceEndpointClient; | 240 exports.InterfaceEndpointClient = InterfaceEndpointClient; |
| 237 | 241 |
| 238 return exports; | 242 return exports; |
| 239 }); | 243 }); |
| OLD | NEW |