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

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

Issue 223233002: Mojo: Move mojo/public/bindings/js to mojo/public/js/bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & restore ordering Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/js/bindings/connection.js ('k') | mojo/public/js/bindings/constants.h » ('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 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 define("mojo/public/bindings/js/connector", [ 5 define("mojo/public/js/bindings/connector", [
6 "mojo/public/bindings/js/codec", 6 "mojo/public/js/bindings/codec",
7 "mojo/bindings/js/core", 7 "mojo/bindings/js/core",
8 "mojo/bindings/js/support", 8 "mojo/bindings/js/support",
9 ], function(codec, core, support) { 9 ], function(codec, core, support) {
10 10
11 function Connector(handle) { 11 function Connector(handle) {
12 this.handle_ = handle; 12 this.handle_ = handle;
13 this.dropWrites_ = false; 13 this.dropWrites_ = false;
14 this.error_ = false; 14 this.error_ = false;
15 this.incomingReceiver_ = null; 15 this.incomingReceiver_ = null;
16 this.readWaitCookie_ = null; 16 this.readWaitCookie_ = null;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 var message = new codec.Message(memory, read.handles); 94 var message = new codec.Message(memory, read.handles);
95 if (this.incomingReceiver_) 95 if (this.incomingReceiver_)
96 this.incomingReceiver_.accept(message); 96 this.incomingReceiver_.accept(message);
97 } 97 }
98 }; 98 };
99 99
100 var exports = {}; 100 var exports = {};
101 exports.Connector = Connector; 101 exports.Connector = Connector;
102 return exports; 102 return exports;
103 }); 103 });
OLDNEW
« no previous file with comments | « mojo/public/js/bindings/connection.js ('k') | mojo/public/js/bindings/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698