OLD | NEW |
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 int request_id, | 121 int request_id, |
122 const scoped_refptr<CacheStorageCache>& cache, | 122 const scoped_refptr<CacheStorageCache>& cache, |
123 CacheStorageError error, | 123 CacheStorageError error, |
124 scoped_ptr<ServiceWorkerResponse> response, | 124 scoped_ptr<ServiceWorkerResponse> response, |
125 scoped_ptr<storage::BlobDataHandle> blob_data_handle); | 125 scoped_ptr<storage::BlobDataHandle> blob_data_handle); |
126 void OnCacheMatchAllCallback( | 126 void OnCacheMatchAllCallback( |
127 int thread_id, | 127 int thread_id, |
128 int request_id, | 128 int request_id, |
129 const scoped_refptr<CacheStorageCache>& cache, | 129 const scoped_refptr<CacheStorageCache>& cache, |
130 CacheStorageError error, | 130 CacheStorageError error, |
131 scoped_ptr<std::vector<ServiceWorkerResponse>> responses, | 131 scoped_ptr<CacheStorageCache::QueryCacheResults> results); |
132 scoped_ptr<CacheStorageCache::BlobDataHandles> blob_data_handles); | |
133 void OnCacheMatchAll(int thread_id, | 132 void OnCacheMatchAll(int thread_id, |
134 int request_id, | 133 int request_id, |
135 int cache_id, | 134 int cache_id, |
136 const ServiceWorkerFetchRequest& request, | 135 const ServiceWorkerFetchRequest& request, |
137 const CacheStorageCacheQueryParams& match_params); | 136 const CacheStorageCacheQueryParams& match_params); |
138 void OnCacheKeysCallback(int thread_id, | 137 void OnCacheKeysCallback(int thread_id, |
139 int request_id, | 138 int request_id, |
140 const scoped_refptr<CacheStorageCache>& cache, | 139 const scoped_refptr<CacheStorageCache>& cache, |
141 CacheStorageError error, | 140 CacheStorageError error, |
142 scoped_ptr<CacheStorageCache::Requests> requests); | 141 scoped_ptr<CacheStorageCache::Requests> requests); |
(...skipping 19 matching lines...) Expand all Loading... |
162 UUIDToBlobDataHandleList blob_handle_store_; | 161 UUIDToBlobDataHandleList blob_handle_store_; |
163 | 162 |
164 scoped_refptr<CacheStorageContextImpl> context_; | 163 scoped_refptr<CacheStorageContextImpl> context_; |
165 | 164 |
166 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcherHost); | 165 DISALLOW_COPY_AND_ASSIGN(CacheStorageDispatcherHost); |
167 }; | 166 }; |
168 | 167 |
169 } // namespace content | 168 } // namespace content |
170 | 169 |
171 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_ | 170 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_DISPATCHER_HOST_H_ |
OLD | NEW |