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

Side by Side Diff: mojo/public/dart/lib/src/message_pipe.dart

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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/dart/lib/src/message.dart ('k') | mojo/public/dart/lib/src/natives.dart » ('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 part of core; 5 part of core;
6 6
7 class MojoMessagePipeReadResult { 7 class MojoMessagePipeReadResult {
8 final MojoResult status; 8 final MojoResult status;
9 final int bytesRead; 9 final int bytesRead;
10 final int handlesRead; 10 final int handlesRead;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 MojoHandle end1 = new MojoHandle(result[1]); 139 MojoHandle end1 = new MojoHandle(result[1]);
140 MojoHandle end2 = new MojoHandle(result[2]); 140 MojoHandle end2 = new MojoHandle(result[2]);
141 MojoMessagePipe pipe = new MojoMessagePipe._(); 141 MojoMessagePipe pipe = new MojoMessagePipe._();
142 pipe.endpoints = new List(2); 142 pipe.endpoints = new List(2);
143 pipe.endpoints[0] = new MojoMessagePipeEndpoint(end1); 143 pipe.endpoints[0] = new MojoMessagePipeEndpoint(end1);
144 pipe.endpoints[1] = new MojoMessagePipeEndpoint(end2); 144 pipe.endpoints[1] = new MojoMessagePipeEndpoint(end2);
145 pipe.status = new MojoResult(result[0]); 145 pipe.status = new MojoResult(result[0]);
146 return pipe; 146 return pipe;
147 } 147 }
148 } 148 }
OLDNEW
« no previous file with comments | « mojo/public/dart/lib/src/message.dart ('k') | mojo/public/dart/lib/src/natives.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698