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

Side by Side Diff: mojo/public/js/lib/interface_endpoint_client.js

Issue 2840333002: Add encounteredError() to AssociatedInterfacePtrController. (Closed)
Patch Set: Make encounteredError private. Created 3 years, 7 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
« no previous file with comments | « mojo/public/js/associated_bindings.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 });
OLDNEW
« no previous file with comments | « mojo/public/js/associated_bindings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698