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

Side by Side Diff: mojo/apps/js/bindings/connector.js

Issue 108723006: Gin: Fix console module to be varargs again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ad Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « gin/test/expect.js ('k') | mojo/apps/js/main.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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([ 5 define([
6 "console",
7 "mojo/apps/js/bindings/codec", 6 "mojo/apps/js/bindings/codec",
8 "mojo/apps/js/bindings/core", 7 "mojo/apps/js/bindings/core",
9 "mojo/apps/js/bindings/support", 8 "mojo/apps/js/bindings/support",
10 ], function(console, codec, core, support) { 9 ], function(codec, core, support) {
11 10
12 function Connector(handle) { 11 function Connector(handle) {
13 this.handle_ = handle; 12 this.handle_ = handle;
14 this.error_ = false; 13 this.error_ = false;
15 this.incomingReceiver_ = null; 14 this.incomingReceiver_ = null;
16 this.readWaitCookie_ = null; 15 this.readWaitCookie_ = null;
17 } 16 }
18 17
19 Connector.prototype.close = function() { 18 Connector.prototype.close = function() {
20 if (this.readWaitCookie_) { 19 if (this.readWaitCookie_) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 this.connector_.close(); 88 this.connector_.close();
90 this.connector_ = null; 89 this.connector_ = null;
91 this.local = null; 90 this.local = null;
92 this.remote = null; 91 this.remote = null;
93 }; 92 };
94 93
95 var exports = {}; 94 var exports = {};
96 exports.Connection = Connection; 95 exports.Connection = Connection;
97 return exports; 96 return exports;
98 }); 97 });
OLDNEW
« no previous file with comments | « gin/test/expect.js ('k') | mojo/apps/js/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698