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

Unified Diff: sky/engine/tonic/dart_library_provider.h

Issue 1203143004: Make it possible to run Sky apps offline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: gn check Created 5 years, 6 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/public/sky/sky_view.cc ('k') | sky/services/viewport/viewport_observer.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_library_provider.h
diff --git a/sky/engine/tonic/dart_library_provider.h b/sky/engine/tonic/dart_library_provider.h
index 737e673771cf0cd71549b9728f6cd82a7ae361d0..e849fdc0473ca206ae6e0f6ad5062e1394006288 100644
--- a/sky/engine/tonic/dart_library_provider.h
+++ b/sky/engine/tonic/dart_library_provider.h
@@ -12,15 +12,16 @@
namespace blink {
+typedef base::Callback<void(mojo::ScopedDataPipeConsumerHandle)>
+ DataPipeConsumerCallback;
+
class DartLibraryProvider {
public:
- virtual void GetLibraryAsStream(
- const String& name,
- base::Callback<void(mojo::ScopedDataPipeConsumerHandle)> callback) = 0;
+ virtual void GetLibraryAsStream(const String& name,
+ DataPipeConsumerCallback callback) = 0;
virtual Dart_Handle CanonicalizeURL(Dart_Handle library, Dart_Handle url) = 0;
- protected:
virtual ~DartLibraryProvider();
};
« no previous file with comments | « sky/engine/public/sky/sky_view.cc ('k') | sky/services/viewport/viewport_observer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698