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

Side by Side Diff: mojo/dart/embedder/io/mojo_patch.dart

Issue 1760523007: Add support for compression filters in the mojo dart:io (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 9 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/io/internet_address.h ('k') | mojo/dart/embedder/mojo_io_natives.cc » ('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:nativewrappers';
6
5 import 'dart:_mojo/application.dart'; 7 import 'dart:_mojo/application.dart';
6 import 'dart:_mojo/bindings.dart'; 8 import 'dart:_mojo/bindings.dart';
7 import 'dart:_mojo/core.dart'; 9 import 'dart:_mojo/core.dart';
8 import 'dart:_mojo/mojo/network_error.mojom.dart'; 10 import 'dart:_mojo/mojo/network_error.mojom.dart';
9 import 'dart:_mojo_services/mojo/host_resolver.mojom.dart'; 11 import 'dart:_mojo_services/mojo/host_resolver.mojom.dart';
10 import 'dart:_mojo_services/mojo/net_address.mojom.dart'; 12 import 'dart:_mojo_services/mojo/net_address.mojom.dart';
11 import 'dart:_mojo_services/mojo/network_service.mojom.dart'; 13 import 'dart:_mojo_services/mojo/network_service.mojom.dart';
12 import 'dart:_mojo_services/mojo/tcp_bound_socket.mojom.dart'; 14 import 'dart:_mojo_services/mojo/tcp_bound_socket.mojom.dart';
13 import 'dart:_mojo_services/mojo/tcp_connected_socket.mojom.dart'; 15 import 'dart:_mojo_services/mojo/tcp_connected_socket.mojom.dart';
14 import 'dart:_mojo_services/mojo/tcp_server_socket.mojom.dart'; 16 import 'dart:_mojo_services/mojo/tcp_server_socket.mojom.dart';
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 } 294 }
293 295
294 static _throwOnError(NetworkError error) { 296 static _throwOnError(NetworkError error) {
295 if (_okay(error)) { 297 if (_okay(error)) {
296 return; 298 return;
297 } 299 }
298 throw new OSError(error.description, error.code); 300 throw new OSError(error.description, error.code);
299 } 301 }
300 } 302 }
301 303
OLDNEW
« no previous file with comments | « mojo/dart/embedder/io/internet_address.h ('k') | mojo/dart/embedder/mojo_io_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698