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

Side by Side Diff: third_party/WebKit/Source/modules/cachestorage/CacheStorage.h

Issue 2270413003: [CacheStorage] Don't store open caches in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698