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

Side by Side Diff: runtime/bin/loader.h

Issue 2666063002: VM: [Kernel] Revert changes to the native ports that introduced peers. (Closed)
Patch Set: Created 3 years, 10 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 | « runtime/bin/io_service_no_ssl.cc ('k') | runtime/bin/loader.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 (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_LOADER_H_ 5 #ifndef RUNTIME_BIN_LOADER_H_
6 #define RUNTIME_BIN_LOADER_H_ 6 #define RUNTIME_BIN_LOADER_H_
7 7
8 #include "bin/isolate_data.h" 8 #include "bin/isolate_data.h"
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "include/dart_native_api.h" 10 #include "include/dart_native_api.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 static intptr_t loader_infos_capacity_; 135 static intptr_t loader_infos_capacity_;
136 136
137 static void AddLoader(Dart_Port port, IsolateData* data); 137 static void AddLoader(Dart_Port port, IsolateData* data);
138 static void RemoveLoader(Dart_Port port); 138 static void RemoveLoader(Dart_Port port);
139 static intptr_t LoaderIndexFor(Dart_Port port); 139 static intptr_t LoaderIndexFor(Dart_Port port);
140 static Loader* LoaderFor(Dart_Port port); 140 static Loader* LoaderFor(Dart_Port port);
141 static Loader* LoaderForLocked(Dart_Port port); 141 static Loader* LoaderForLocked(Dart_Port port);
142 142
143 // This is the global callback for the native message handlers. 143 // This is the global callback for the native message handlers.
144 static void NativeMessageHandler(Dart_Port dest_port_id, 144 static void NativeMessageHandler(Dart_Port dest_port_id,
145 Dart_CObject* message, 145 Dart_CObject* message);
146 void* peer);
147 }; 146 };
148 147
149 } // namespace bin 148 } // namespace bin
150 } // namespace dart 149 } // namespace dart
151 150
152 #endif // RUNTIME_BIN_LOADER_H_ 151 #endif // RUNTIME_BIN_LOADER_H_
OLDNEW
« no previous file with comments | « runtime/bin/io_service_no_ssl.cc ('k') | runtime/bin/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698