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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCache.h

Issue 1719103002: CacheStorage: Expand cache.keys() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebServiceWorkerCache_h 5 #ifndef WebServiceWorkerCache_h
6 #define WebServiceWorkerCache_h 6 #define WebServiceWorkerCache_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h" 9 #include "public/platform/WebCommon.h"
10 #include "public/platform/WebString.h" 10 #include "public/platform/WebString.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 WebServiceWorkerResponse response; 52 WebServiceWorkerResponse response;
53 QueryParams matchParams; 53 QueryParams matchParams;
54 }; 54 };
55 55
56 WebServiceWorkerCache() { } 56 WebServiceWorkerCache() { }
57 57
58 // Ownership of the Cache*Callbacks methods passes to the WebServiceWorkerCa che instance, which will delete it after 58 // Ownership of the Cache*Callbacks methods passes to the WebServiceWorkerCa che instance, which will delete it after
59 // calling onSuccess or onFailure. 59 // calling onSuccess or onFailure.
60 virtual void dispatchMatch(CacheMatchCallbacks*, const WebServiceWorkerReque st&, const QueryParams&) = 0; 60 virtual void dispatchMatch(CacheMatchCallbacks*, const WebServiceWorkerReque st&, const QueryParams&) = 0;
61 virtual void dispatchMatchAll(CacheWithResponsesCallbacks*, const WebService WorkerRequest&, const QueryParams&) = 0; 61 virtual void dispatchMatchAll(CacheWithResponsesCallbacks*, const WebService WorkerRequest&, const QueryParams&) = 0;
62 virtual void dispatchKeys(CacheWithRequestsCallbacks*, const WebServiceWorke rRequest*, const QueryParams&) = 0; 62 virtual void dispatchKeys(CacheWithRequestsCallbacks*, const WebServiceWorke rRequest&, const QueryParams&) = 0;
63 virtual void dispatchBatch(CacheBatchCallbacks*, const WebVector<BatchOperat ion>&) = 0; 63 virtual void dispatchBatch(CacheBatchCallbacks*, const WebVector<BatchOperat ion>&) = 0;
64 }; 64 };
65 65
66 } // namespace blink 66 } // namespace blink
67 67
68 #endif // WebServiceWorkerCache_h 68 #endif // WebServiceWorkerCache_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698