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

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

Issue 100573003: [Mojo] Move JS bindings out of public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix header guards 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 | « mojo/apps/js/bindings/codec_unittests.js ('k') | mojo/apps/js/bindings/connector_unittests.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 "mojo/public/bindings/js/codec", 6 "mojo/apps/js/bindings/codec",
7 "mojo/public/bindings/js/core", 7 "mojo/apps/js/bindings/core",
8 "mojo/public/bindings/js/support", 8 "mojo/apps/js/bindings/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.error_ = false; 13 this.error_ = false;
14 this.incomingReceiver_ = null; 14 this.incomingReceiver_ = null;
15 this.readWaitCookie_ = null; 15 this.readWaitCookie_ = null;
16 } 16 }
17 17
18 Connector.prototype.close = function() { 18 Connector.prototype.close = function() {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 this.connector_.close(); 88 this.connector_.close();
89 this.connector_ = null; 89 this.connector_ = null;
90 this.local = null; 90 this.local = null;
91 this.remote = null; 91 this.remote = null;
92 }; 92 };
93 93
94 var exports = {}; 94 var exports = {};
95 exports.Connection = Connection; 95 exports.Connection = Connection;
96 return exports; 96 return exports;
97 }); 97 });
OLDNEW
« no previous file with comments | « mojo/apps/js/bindings/codec_unittests.js ('k') | mojo/apps/js/bindings/connector_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698