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

Side by Side Diff: content/renderer/cache_storage/cache_storage_dispatcher.h

Issue 1719103002: CacheStorage: Expand cache.keys() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
6 #define CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_ 6 #define CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const blink::WebServiceWorkerRequest& request, 134 const blink::WebServiceWorkerRequest& request,
135 const blink::WebServiceWorkerCache::QueryParams& query_params); 135 const blink::WebServiceWorkerCache::QueryParams& query_params);
136 void dispatchMatchAllForCache( 136 void dispatchMatchAllForCache(
137 int cache_id, 137 int cache_id,
138 blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks, 138 blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks,
139 const blink::WebServiceWorkerRequest& request, 139 const blink::WebServiceWorkerRequest& request,
140 const blink::WebServiceWorkerCache::QueryParams& query_params); 140 const blink::WebServiceWorkerCache::QueryParams& query_params);
141 void dispatchKeysForCache( 141 void dispatchKeysForCache(
142 int cache_id, 142 int cache_id,
143 blink::WebServiceWorkerCache::CacheWithRequestsCallbacks* callbacks, 143 blink::WebServiceWorkerCache::CacheWithRequestsCallbacks* callbacks,
144 const blink::WebServiceWorkerRequest* request, 144 const blink::WebServiceWorkerRequest& request,
145 const blink::WebServiceWorkerCache::QueryParams& query_params); 145 const blink::WebServiceWorkerCache::QueryParams& query_params);
146 void dispatchBatchForCache( 146 void dispatchBatchForCache(
147 int cache_id, 147 int cache_id,
148 blink::WebServiceWorkerCache::CacheBatchCallbacks* callbacks, 148 blink::WebServiceWorkerCache::CacheBatchCallbacks* callbacks,
149 const blink::WebVector<blink::WebServiceWorkerCache::BatchOperation>& 149 const blink::WebVector<blink::WebServiceWorkerCache::BatchOperation>&
150 batch_operations); 150 batch_operations);
151 151
152 void OnWebCacheDestruction(int cache_id); 152 void OnWebCacheDestruction(int cache_id);
153 153
154 private: 154 private:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 TimeMap cache_batch_times_; 214 TimeMap cache_batch_times_;
215 215
216 base::WeakPtrFactory<CacheStorageDispatcher> weak_factory_; 216 base::WeakPtrFactory<CacheStorageDispatcher> weak_factory_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcher); 218 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcher);
219 }; 219 };
220 220
221 } // namespace content 221 } // namespace content
222 222
223 #endif // CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_ 223 #endif // CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698