Chromium Code Reviews| Index: content/browser/cache_storage/cache_storage.h |
| diff --git a/content/browser/cache_storage/cache_storage.h b/content/browser/cache_storage/cache_storage.h |
| index 3221dc7a849e2bd98278762d06a122f0b8dba899..ea9234b6bb63c36295155d072470519289bfbfce 100644 |
| --- a/content/browser/cache_storage/cache_storage.h |
| +++ b/content/browser/cache_storage/cache_storage.h |
| @@ -91,6 +91,7 @@ class CONTENT_EXPORT CacheStorage { |
| // Calls match on the cache with the given |cache_name|. |
| void MatchCache(const std::string& cache_name, |
| std::unique_ptr<ServiceWorkerFetchRequest> request, |
| + const CacheStorageCacheQueryParams& match_params, |
| const CacheStorageCache::ResponseCallback& callback); |
| // Calls match on all of the caches in parallel, calling |callback| with the |
| @@ -98,6 +99,8 @@ class CONTENT_EXPORT CacheStorage { |
| // entry. If no response is found then |callback| is called with |
| // CACHE_STORAGE_ERROR_NOT_FOUND. |
| void MatchAllCaches(std::unique_ptr<ServiceWorkerFetchRequest> request, |
| + const CacheStorageCacheQueryParams& match_params, |
| + |
|
nhiroki
2016/08/18 00:05:42
nit: blank line
jkarlin
2016/08/18 14:08:23
Thanks, I would have thought git cl format would h
|
| const CacheStorageCache::ResponseCallback& callback); |
| // Sums the sizes of each cache and closes them. Runs |callback| with the |
| @@ -174,6 +177,7 @@ class CONTENT_EXPORT CacheStorage { |
| // The MatchCache callbacks are below. |
| void MatchCacheImpl(const std::string& cache_name, |
| std::unique_ptr<ServiceWorkerFetchRequest> request, |
| + const CacheStorageCacheQueryParams& match_params, |
| const CacheStorageCache::ResponseCallback& callback); |
| void MatchCacheDidMatch(std::unique_ptr<CacheStorageCacheHandle> cache_handle, |
| const CacheStorageCache::ResponseCallback& callback, |
| @@ -183,6 +187,8 @@ class CONTENT_EXPORT CacheStorage { |
| // The MatchAllCaches callbacks are below. |
| void MatchAllCachesImpl(std::unique_ptr<ServiceWorkerFetchRequest> request, |
| + const CacheStorageCacheQueryParams& match_params, |
| + |
|
nhiroki
2016/08/18 00:05:42
nit: blank line
jkarlin
2016/08/18 14:08:23
Done.
|
| const CacheStorageCache::ResponseCallback& callback); |
| void MatchAllCachesDidMatch( |
| std::unique_ptr<CacheStorageCacheHandle> cache_handle, |