| 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 CacheStorage_h | 5 #ifndef CacheStorage_h |
| 6 #define CacheStorage_h | 6 #define CacheStorage_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 class MatchCallbacks; | 46 class MatchCallbacks; |
| 47 | 47 |
| 48 friend class WithCacheCallbacks; | 48 friend class WithCacheCallbacks; |
| 49 friend class DeleteCallbacks; | 49 friend class DeleteCallbacks; |
| 50 | 50 |
| 51 CacheStorage(GlobalFetch::ScopedFetcher*, std::unique_ptr<WebServiceWorkerCa
cheStorage>); | 51 CacheStorage(GlobalFetch::ScopedFetcher*, std::unique_ptr<WebServiceWorkerCa
cheStorage>); |
| 52 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption
s&); | 52 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption
s&); |
| 53 | 53 |
| 54 Member<GlobalFetch::ScopedFetcher> m_scopedFetcher; | 54 Member<GlobalFetch::ScopedFetcher> m_scopedFetcher; |
| 55 std::unique_ptr<WebServiceWorkerCacheStorage> m_webCacheStorage; | 55 std::unique_ptr<WebServiceWorkerCacheStorage> m_webCacheStorage; |
| 56 HeapHashMap<String, Member<Cache>> m_nameToCacheMap; | |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace blink | 58 } // namespace blink |
| 60 | 59 |
| 61 #endif // CacheStorage_h | 60 #endif // CacheStorage_h |
| OLD | NEW |