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

Side by Side Diff: mojo/dart/embedder/builtin.cc

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/BUILD.gn ('k') | mojo/dart/embedder/common.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 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/i18n/icu_util.h" 7 #include "base/i18n/icu_util.h"
8 #include "dart/runtime/include/dart_api.h" 8 #include "dart/runtime/include/dart_api.h"
9 #include "mojo/dart/embedder/builtin.h" 9 #include "mojo/dart/embedder/builtin.h"
10 #include "mojo/dart/embedder/mojo_io_natives.h" 10 #include "mojo/dart/embedder/mojo_io_natives.h"
(...skipping 25 matching lines...) Expand all
36 return -1; 36 return -1;
37 } 37 }
38 38
39 const char* Builtin::mojo_core_patch_resource_names_[] = { 39 const char* Builtin::mojo_core_patch_resource_names_[] = {
40 "/core/natives_patch.dart", 40 "/core/natives_patch.dart",
41 nullptr, 41 nullptr,
42 }; 42 };
43 43
44 const char* Builtin::mojo_io_patch_resource_names_[] = { 44 const char* Builtin::mojo_io_patch_resource_names_[] = {
45 "/io/file_patch.dart", 45 "/io/file_patch.dart",
46 "/io/filter_patch.dart",
46 "/io/internet_address_patch.dart", 47 "/io/internet_address_patch.dart",
47 "/io/mojo_patch.dart", 48 "/io/mojo_patch.dart",
48 "/io/platform_patch.dart", 49 "/io/platform_patch.dart",
49 "/io/process_patch.dart", 50 "/io/process_patch.dart",
50 "/io/socket_patch.dart", 51 "/io/socket_patch.dart",
51 "/io/server_socket_patch.dart", 52 "/io/server_socket_patch.dart",
52 nullptr, 53 nullptr,
53 }; 54 };
54 55
55 Builtin::builtin_lib_props Builtin::builtin_libraries_[] = { 56 Builtin::builtin_lib_props Builtin::builtin_libraries_[] = {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 DCHECK(builtin_libraries_[id].patch_resources_ != nullptr); 151 DCHECK(builtin_libraries_[id].patch_resources_ != nullptr);
151 LoadPatchFiles(library, 152 LoadPatchFiles(library,
152 builtin_libraries_[id].patch_url_, 153 builtin_libraries_[id].patch_url_,
153 builtin_libraries_[id].patch_resources_); 154 builtin_libraries_[id].patch_resources_);
154 } 155 }
155 return library; 156 return library;
156 } 157 }
157 158
158 } // namespace dart 159 } // namespace dart
159 } // namespace mojo 160 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/dart/embedder/BUILD.gn ('k') | mojo/dart/embedder/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698