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 30 matching lines...) Expand all Loading... |
41 class KeysCallbacks; | 41 class KeysCallbacks; |
42 class MatchCallbacks; | 42 class MatchCallbacks; |
43 | 43 |
44 friend class WithCacheCallbacks; | 44 friend class WithCacheCallbacks; |
45 friend class DeleteCallbacks; | 45 friend class DeleteCallbacks; |
46 | 46 |
47 explicit CacheStorage(WebServiceWorkerCacheStorage*); | 47 explicit CacheStorage(WebServiceWorkerCacheStorage*); |
48 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption
s&); | 48 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption
s&); |
49 | 49 |
50 WebServiceWorkerCacheStorage* m_webCacheStorage; | 50 WebServiceWorkerCacheStorage* m_webCacheStorage; |
51 HeapHashMap<String, Member<Cache> > m_nameToCacheMap; | 51 HeapHashMap<String, Member<Cache>> m_nameToCacheMap; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
55 | 55 |
56 #endif // CacheStorage_h | 56 #endif // CacheStorage_h |
OLD | NEW |