OLD | NEW |
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 Cache_h | 5 #ifndef Cache_h |
6 #define Cache_h | 6 #define Cache_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
10 #include "modules/ModulesExport.h" | 11 #include "modules/ModulesExport.h" |
11 #include "modules/cachestorage/CacheQueryOptions.h" | 12 #include "modules/cachestorage/CacheQueryOptions.h" |
12 #include "modules/fetch/GlobalFetch.h" | 13 #include "modules/fetch/GlobalFetch.h" |
13 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" | 14 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" |
14 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" | 15 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" |
15 #include "wtf/Forward.h" | 16 #include "wtf/Forward.h" |
16 #include "wtf/Noncopyable.h" | 17 #include "wtf/Noncopyable.h" |
17 #include "wtf/Vector.h" | 18 #include "wtf/Vector.h" |
18 #include "wtf/text/WTFString.h" | 19 #include "wtf/text/WTFString.h" |
19 #include <memory> | |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 class ExceptionState; | 23 class ExceptionState; |
24 class Response; | 24 class Response; |
25 class Request; | 25 class Request; |
26 class ScriptState; | 26 class ScriptState; |
27 | 27 |
28 typedef RequestOrUSVString RequestInfo; | 28 typedef RequestOrUSVString RequestInfo; |
29 | 29 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 WebServiceWorkerCache* webCache() const; | 100 WebServiceWorkerCache* webCache() const; |
101 | 101 |
102 Member<GlobalFetch::ScopedFetcher> m_scopedFetcher; | 102 Member<GlobalFetch::ScopedFetcher> m_scopedFetcher; |
103 std::unique_ptr<WebServiceWorkerCache> m_webCache; | 103 std::unique_ptr<WebServiceWorkerCache> m_webCache; |
104 }; | 104 }; |
105 | 105 |
106 } // namespace blink | 106 } // namespace blink |
107 | 107 |
108 #endif // Cache_h | 108 #endif // Cache_h |
OLD | NEW |