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

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

Issue 1055543004: Move Cache Storage API implementation to modules/cachestorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 8 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 | Annotate | Revision Log
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"
11 #include "modules/serviceworkers/Cache.h" 11 #include "modules/cachestorage/Cache.h"
12 #include "modules/serviceworkers/CacheQueryOptions.h" 12 #include "modules/cachestorage/CacheQueryOptions.h"
13 #include "public/platform/WebServiceWorkerCacheStorage.h" 13 #include "public/platform/WebServiceWorkerCacheStorage.h"
14 #include "wtf/Forward.h" 14 #include "wtf/Forward.h"
15 #include "wtf/HashMap.h" 15 #include "wtf/HashMap.h"
16 #include "wtf/Noncopyable.h" 16 #include "wtf/Noncopyable.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class Cache; 20 class Cache;
21 class WebServiceWorkerCacheStorage; 21 class WebServiceWorkerCacheStorage;
22 22
(...skipping 25 matching lines...) Expand all
48 explicit CacheStorage(PassOwnPtr<WebServiceWorkerCacheStorage>); 48 explicit CacheStorage(PassOwnPtr<WebServiceWorkerCacheStorage>);
49 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption s&); 49 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption s&);
50 50
51 OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage; 51 OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage;
52 HeapHashMap<String, Member<Cache>> m_nameToCacheMap; 52 HeapHashMap<String, Member<Cache>> m_nameToCacheMap;
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 #endif // CacheStorage_h 57 #endif // CacheStorage_h
OLDNEW
« no previous file with comments | « Source/modules/cachestorage/CacheQueryOptions.idl ('k') | Source/modules/cachestorage/CacheStorage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698