| 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 "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "bindings/modules/v8/UnionTypesModules.h" | 10 #include "bindings/modules/v8/UnionTypesModules.h" |
| 11 #include "core/dom/DOMException.h" |
| 11 #include "modules/ModulesExport.h" | 12 #include "modules/ModulesExport.h" |
| 12 #include "modules/cachestorage/CacheQueryOptions.h" | 13 #include "modules/cachestorage/CacheQueryOptions.h" |
| 13 #include "modules/fetch/GlobalFetch.h" | 14 #include "modules/fetch/GlobalFetch.h" |
| 14 #include "public/platform/WebServiceWorkerCache.h" | 15 #include "public/platform/WebServiceWorkerCache.h" |
| 15 #include "public/platform/WebServiceWorkerCacheError.h" | 16 #include "public/platform/WebServiceWorkerCacheError.h" |
| 16 #include "wtf/Forward.h" | 17 #include "wtf/Forward.h" |
| 17 #include "wtf/Noncopyable.h" | 18 #include "wtf/Noncopyable.h" |
| 18 #include "wtf/OwnPtr.h" | 19 #include "wtf/OwnPtr.h" |
| 19 #include "wtf/Vector.h" | 20 #include "wtf/Vector.h" |
| 20 #include "wtf/text/WTFString.h" | 21 #include "wtf/text/WTFString.h" |
| 21 | 22 |
| 22 namespace blink { | 23 namespace blink { |
| 23 | 24 |
| 24 class DOMException; | |
| 25 class ExceptionState; | 25 class ExceptionState; |
| 26 class Response; | 26 class Response; |
| 27 class Request; | 27 class Request; |
| 28 class ScriptState; | 28 class ScriptState; |
| 29 | 29 |
| 30 typedef RequestOrUSVString RequestInfo; | 30 typedef RequestOrUSVString RequestInfo; |
| 31 | 31 |
| 32 class MODULES_EXPORT Cache final : public GarbageCollectedFinalized<Cache>, publ
ic ScriptWrappable { | 32 class MODULES_EXPORT Cache final : public GarbageCollectedFinalized<Cache>, publ
ic ScriptWrappable { |
| 33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
| 34 WTF_MAKE_NONCOPYABLE(Cache); | 34 WTF_MAKE_NONCOPYABLE(Cache); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 WebServiceWorkerCache* webCache() const; | 68 WebServiceWorkerCache* webCache() const; |
| 69 | 69 |
| 70 WeakPtr<GlobalFetch::ScopedFetcher> m_scopedFetcher; | 70 WeakPtr<GlobalFetch::ScopedFetcher> m_scopedFetcher; |
| 71 OwnPtr<WebServiceWorkerCache> m_webCache; | 71 OwnPtr<WebServiceWorkerCache> m_webCache; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace blink | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif // Cache_h | 76 #endif // Cache_h |
| OLD | NEW |