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

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

Issue 1373693002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 2 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"
11 #include "modules/cachestorage/Cache.h" 11 #include "modules/cachestorage/Cache.h"
12 #include "modules/cachestorage/CacheQueryOptions.h" 12 #include "modules/cachestorage/CacheQueryOptions.h"
13 #include "modules/fetch/GlobalFetch.h" 13 #include "modules/fetch/GlobalFetch.h"
14 #include "public/platform/WebServiceWorkerCacheStorage.h" 14 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h"
15 #include "wtf/Forward.h" 15 #include "wtf/Forward.h"
16 #include "wtf/HashMap.h" 16 #include "wtf/HashMap.h"
17 #include "wtf/Noncopyable.h" 17 #include "wtf/Noncopyable.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class Cache; 21 class Cache;
22 class WebServiceWorkerCacheStorage; 22 class WebServiceWorkerCacheStorage;
23 23
24 class CacheStorage final : public GarbageCollectedFinalized<CacheStorage>, publi c ScriptWrappable { 24 class CacheStorage final : public GarbageCollectedFinalized<CacheStorage>, publi c ScriptWrappable {
(...skipping 26 matching lines...) Expand all
51 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption s&); 51 ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOption s&);
52 52
53 WeakPtrWillBeMember<GlobalFetch::ScopedFetcher> m_scopedFetcher; 53 WeakPtrWillBeMember<GlobalFetch::ScopedFetcher> m_scopedFetcher;
54 OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage; 54 OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage;
55 HeapHashMap<String, Member<Cache>> m_nameToCacheMap; 55 HeapHashMap<String, Member<Cache>> m_nameToCacheMap;
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // CacheStorage_h 60 #endif // CacheStorage_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698