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

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 1411853003: Service isolate requests Observatory assets from embedder (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/tools/create_archive.py ('k') | runtime/vm/dart.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 V(UserTag_makeCurrent, 1) \ 397 V(UserTag_makeCurrent, 1) \
398 V(Profiler_getCurrentTag, 0) \ 398 V(Profiler_getCurrentTag, 0) \
399 V(ClassID_getID, 1) \ 399 V(ClassID_getID, 1) \
400 V(Num_toString, 1) \ 400 V(Num_toString, 1) \
401 V(VMService_SendIsolateServiceMessage, 2) \ 401 V(VMService_SendIsolateServiceMessage, 2) \
402 V(VMService_SendRootServiceMessage, 1) \ 402 V(VMService_SendRootServiceMessage, 1) \
403 V(VMService_OnStart, 0) \ 403 V(VMService_OnStart, 0) \
404 V(VMService_OnExit, 0) \ 404 V(VMService_OnExit, 0) \
405 V(VMService_ListenStream, 1) \ 405 V(VMService_ListenStream, 1) \
406 V(VMService_CancelStream, 1) \ 406 V(VMService_CancelStream, 1) \
407 V(VMService_RequestAssets, 0) \
407 408
408 class BootstrapNatives : public AllStatic { 409 class BootstrapNatives : public AllStatic {
409 public: 410 public:
410 static Dart_NativeFunction Lookup(Dart_Handle name, 411 static Dart_NativeFunction Lookup(Dart_Handle name,
411 int argument_count, 412 int argument_count,
412 bool* auto_setup_scope); 413 bool* auto_setup_scope);
413 414
414 static const uint8_t* Symbol(Dart_NativeFunction* nf); 415 static const uint8_t* Symbol(Dart_NativeFunction* nf);
415 416
416 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 417 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
417 static void DN_##name(Dart_NativeArguments args); 418 static void DN_##name(Dart_NativeArguments args);
418 419
419 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 420 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
420 421
421 #undef DECLARE_BOOTSTRAP_NATIVE 422 #undef DECLARE_BOOTSTRAP_NATIVE
422 }; 423 };
423 424
424 } // namespace dart 425 } // namespace dart
425 426
426 #endif // VM_BOOTSTRAP_NATIVES_H_ 427 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/tools/create_archive.py ('k') | runtime/vm/dart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698