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

Side by Side Diff: content/browser/cache_storage/cache_storage_dispatcher_host.h

Issue 2416713002: Write out CacheStorageCache size to index file. (Closed)
Patch Set: Consolidated observer methods, renames, cleanup, etc. Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 CacheStorageError error); 102 CacheStorageError error);
103 void OnCacheStorageOpenCallback( 103 void OnCacheStorageOpenCallback(
104 int thread_id, 104 int thread_id,
105 int request_id, 105 int request_id,
106 std::unique_ptr<CacheStorageCacheHandle> cache_handle, 106 std::unique_ptr<CacheStorageCacheHandle> cache_handle,
107 CacheStorageError error); 107 CacheStorageError error);
108 void OnCacheStorageDeleteCallback(int thread_id, 108 void OnCacheStorageDeleteCallback(int thread_id,
109 int request_id, 109 int request_id,
110 bool deleted, 110 bool deleted,
111 CacheStorageError error); 111 CacheStorageError error);
112 void OnCacheStorageKeysCallback(int thread_id, 112 void OnCacheStorageKeysCallback(
113 int request_id, 113 int thread_id,
114 const std::vector<std::string>& strings); 114 int request_id,
115 const std::list<CacheStorage::CacheMetadata>& cache_metadata);
115 void OnCacheStorageMatchCallback( 116 void OnCacheStorageMatchCallback(
116 int thread_id, 117 int thread_id,
117 int request_id, 118 int request_id,
118 CacheStorageError error, 119 CacheStorageError error,
119 std::unique_ptr<ServiceWorkerResponse> response, 120 std::unique_ptr<ServiceWorkerResponse> response,
120 std::unique_ptr<storage::BlobDataHandle> blob_data_handle); 121 std::unique_ptr<storage::BlobDataHandle> blob_data_handle);
121 122
122 // Cache callbacks. 123 // Cache callbacks.
123 void OnCacheMatchCallback( 124 void OnCacheMatchCallback(
124 int thread_id, 125 int thread_id,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 UUIDToBlobDataHandleList blob_handle_store_; 176 UUIDToBlobDataHandleList blob_handle_store_;
176 177
177 scoped_refptr<CacheStorageContextImpl> context_; 178 scoped_refptr<CacheStorageContextImpl> context_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcherHost); 180 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcherHost);
180 }; 181 };
181 182
182 } // namespace content 183 } // namespace content
183 184
184 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_ 185 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698