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

Side by Side Diff: sky/engine/core/script/dart_library_provider_webview.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, 5 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SKY_ENGINE_CORE_SCRIPT_DART_LIBRARY_PROVIDER_WEBVIEW_H_
6 #define SKY_ENGINE_CORE_SCRIPT_DART_LIBRARY_PROVIDER_WEBVIEW_H_
7
8 #include "sky/engine/tonic/dart_library_provider.h"
9 #include "sky/engine/wtf/HashSet.h"
10 #include "sky/engine/wtf/OwnPtr.h"
11
12 namespace blink {
13
14 class DartLibraryProviderWebView : public DartLibraryProvider {
15 public:
16 explicit DartLibraryProviderWebView();
17 ~DartLibraryProviderWebView() override;
18
19 private:
20 class Job;
21
22 // |DartLibraryProvider| implementation:
23 void GetLibraryAsStream(
24 const String& name,
25 DataPipeConsumerCallback callback)
26 override;
27
28 Dart_Handle CanonicalizeURL(Dart_Handle library, Dart_Handle url) override;
29
30 HashSet<OwnPtr<Job>> jobs_;
31 };
32
33 } // namespace blink
34
35 #endif // SKY_ENGINE_CORE_SCRIPT_DART_LIBRARY_PROVIDER_WEBVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/script/dart_library_provider_network.cc ('k') | sky/engine/core/script/dart_library_provider_webview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698