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

Side by Side Diff: mojo/dart/embedder/io/mojo_patch.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/dart/embedder/builtin.dart ('k') | mojo/dart/embedder/packages.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 import 'dart:_mojo/public/dart/application.dart'; 5 import 'dart:_mojo/application.dart';
6 import 'dart:_mojo/public/dart/bindings.dart'; 6 import 'dart:_mojo/bindings.dart';
7 import 'dart:_mojo/public/dart/core.dart'; 7 import 'dart:_mojo/core.dart';
8 import 'dart:_mojom/mojo/net_address.mojom.dart'; 8 import 'dart:_mojom/mojo/net_address.mojom.dart';
9 import 'dart:_mojom/mojo/network_error.mojom.dart'; 9 import 'dart:_mojom/mojo/network_error.mojom.dart';
10 import 'dart:_mojom/mojo/network_service.mojom.dart'; 10 import 'dart:_mojom/mojo/network_service.mojom.dart';
11 import 'dart:_mojom/mojo/tcp_bound_socket.mojom.dart'; 11 import 'dart:_mojom/mojo/tcp_bound_socket.mojom.dart';
12 import 'dart:_mojom/mojo/tcp_connected_socket.mojom.dart'; 12 import 'dart:_mojom/mojo/tcp_connected_socket.mojom.dart';
13 import 'dart:_mojom/mojo/tcp_server_socket.mojom.dart'; 13 import 'dart:_mojom/mojo/tcp_server_socket.mojom.dart';
14 14
15 // 15 //
16 // Mojo objects and helper functions used by the 'dart:io' library. 16 // Mojo objects and helper functions used by the 'dart:io' library.
17 // 17 //
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 171
172 static _throwOnError(NetworkError error) { 172 static _throwOnError(NetworkError error) {
173 if (_okay(error)) { 173 if (_okay(error)) {
174 return; 174 return;
175 } 175 }
176 throw new OSError(error.description, error.code); 176 throw new OSError(error.description, error.code);
177 } 177 }
178 } 178 }
179 179
OLDNEW
« no previous file with comments | « mojo/dart/embedder/builtin.dart ('k') | mojo/dart/embedder/packages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698