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

Unified Diff: sky/engine/core/script/dart_loader.h

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: cr comments Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/engine/core/script/dart_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/script/dart_loader.h
diff --git a/sky/engine/core/script/dart_loader.h b/sky/engine/core/script/dart_loader.h
index 75b3ab495c1dfb4c9007565556ab388a1330dcbb..b89832ad03f7b6797cabcd81d637520b566bbd7a 100644
--- a/sky/engine/core/script/dart_loader.h
+++ b/sky/engine/core/script/dart_loader.h
@@ -25,9 +25,11 @@ class DartLoader {
explicit DartLoader(DartState* dart_state);
~DartLoader();
- Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
- Dart_Handle library,
- Dart_Handle url);
+ // TODO(dart): This can be called both on the main thread from application isolates
+ // or from the handle watcher isolate thread.
+ static Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
+ Dart_Handle library,
+ Dart_Handle url);
void WaitForDependencies(const HashSet<DartDependency*>& dependencies,
const base::Closure& callback);
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/engine/core/script/dart_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698