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

Side by Side Diff: mojo/dart/embedder/dart_controller.h

Issue 1640933003: Dart: Roll runtime forward (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 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 | « mojo/dart/embedder/builtin.dart ('k') | mojo/dart/embedder/dart_controller.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 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 #ifndef MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ 5 #ifndef MOJO_DART_EMBEDDER_DART_CONTROLLER_H_
6 #define MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ 6 #define MOJO_DART_EMBEDDER_DART_CONTROLLER_H_
7 7
8 #include <unordered_set> 8 #include <unordered_set>
9 9
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 private: 130 private:
131 static void MessageNotifyCallback(Dart_Isolate dest_isolate); 131 static void MessageNotifyCallback(Dart_Isolate dest_isolate);
132 132
133 // Set the control handle in the isolate. 133 // Set the control handle in the isolate.
134 static Dart_Handle SetHandleWatcherControlHandle(); 134 static Dart_Handle SetHandleWatcherControlHandle();
135 135
136 // Dart API callback(s). 136 // Dart API callback(s).
137 static Dart_Isolate IsolateCreateCallback(const char* script_uri, 137 static Dart_Isolate IsolateCreateCallback(const char* script_uri,
138 const char* main, 138 const char* main,
139 const char* package_root, 139 const char* package_root,
140 const char** package_map, 140 const char* package_config,
141 Dart_IsolateFlags* flags, 141 Dart_IsolateFlags* flags,
142 void* callback_data, 142 void* callback_data,
143 char** error); 143 char** error);
144 static void IsolateShutdownCallback(void* callback_data); 144 static void IsolateShutdownCallback(void* callback_data);
145 145
146 // Initialize per-isolate flags. 146 // Initialize per-isolate flags.
147 static void SetIsolateFlags(Dart_IsolateFlags* flags, 147 static void SetIsolateFlags(Dart_IsolateFlags* flags,
148 bool strict_compilation); 148 bool strict_compilation);
149 149
150 // Dart API callback helper(s). 150 // Dart API callback helper(s).
(...skipping 22 matching lines...) Expand all
173 static bool observatory_enabled_; 173 static bool observatory_enabled_;
174 static bool service_isolate_running_; 174 static bool service_isolate_running_;
175 static bool service_isolate_spawned_; 175 static bool service_isolate_spawned_;
176 static DartControllerServiceConnector* service_connector_; 176 static DartControllerServiceConnector* service_connector_;
177 }; 177 };
178 178
179 } // namespace dart 179 } // namespace dart
180 } // namespace mojo 180 } // namespace mojo
181 181
182 #endif // MOJO_DART_EMBEDDER_DART_CONTROLLER_H_ 182 #endif // MOJO_DART_EMBEDDER_DART_CONTROLLER_H_
OLDNEW
« no previous file with comments | « mojo/dart/embedder/builtin.dart ('k') | mojo/dart/embedder/dart_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698