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

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: 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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const blink::WebServiceWorkerRequest& request, 138 const blink::WebServiceWorkerRequest& request,
139 const blink::WebServiceWorkerCache::QueryParams& query_params); 139 const blink::WebServiceWorkerCache::QueryParams& query_params);
140 void dispatchMatchAllForCache( 140 void dispatchMatchAllForCache(
141 int cache_id, 141 int cache_id,
142 blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks, 142 blink::WebServiceWorkerCache::CacheWithResponsesCallbacks* callbacks,
143 const blink::WebServiceWorkerRequest& request, 143 const blink::WebServiceWorkerRequest& request,
144 const blink::WebServiceWorkerCache::QueryParams& query_params); 144 const blink::WebServiceWorkerCache::QueryParams& query_params);
145 void dispatchKeysForCache( 145 void dispatchKeysForCache(
146 int cache_id, 146 int cache_id,
147 blink::WebServiceWorkerCache::CacheWithRequestsCallbacks* callbacks, 147 blink::WebServiceWorkerCache::CacheWithRequestsCallbacks* callbacks,
148 const blink::WebServiceWorkerRequest* request, 148 const blink::WebServiceWorkerRequest& request,
149 const blink::WebServiceWorkerCache::QueryParams& query_params); 149 const blink::WebServiceWorkerCache::QueryParams& query_params);
150 void dispatchBatchForCache( 150 void dispatchBatchForCache(
151 int cache_id, 151 int cache_id,
152 blink::WebServiceWorkerCache::CacheBatchCallbacks* callbacks, 152 blink::WebServiceWorkerCache::CacheBatchCallbacks* callbacks,
153 const blink::WebVector<blink::WebServiceWorkerCache::BatchOperation>& 153 const blink::WebVector<blink::WebServiceWorkerCache::BatchOperation>&
154 batch_operations); 154 batch_operations);
155 155
156 void OnWebCacheDestruction(int cache_id); 156 void OnWebCacheDestruction(int cache_id);
157 157
158 private: 158 private:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 TimeMap cache_batch_times_; 218 TimeMap cache_batch_times_;
219 219
220 base::WeakPtrFactory<CacheStorageDispatcher> weak_factory_; 220 base::WeakPtrFactory<CacheStorageDispatcher> weak_factory_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcher); 222 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcher);
223 }; 223 };
224 224
225 } // namespace content 225 } // namespace content
226 226
227 #endif // CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_ 227 #endif // CONTENT_RENDERER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698