OLD | NEW |
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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "content/common/service_worker/service_worker_types.h" | 12 #include "content/common/service_worker/service_worker_types.h" |
13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
14 #include "net/disk_cache/disk_cache.h" | 14 #include "net/disk_cache/disk_cache.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 class URLRequestContext; | 17 class URLRequestContext; |
18 class IOBufferWithSize; | 18 class IOBufferWithSize; |
19 } | 19 } |
20 | 20 |
21 namespace storage { | 21 namespace storage { |
22 class BlobData; | 22 class BlobDataBuilder; |
23 class BlobDataHandle; | 23 class BlobDataHandle; |
24 class BlobStorageContext; | 24 class BlobStorageContext; |
25 class QuotaManagerProxy; | 25 class QuotaManagerProxy; |
26 } | 26 } |
27 | 27 |
28 namespace content { | 28 namespace content { |
29 class ChromeBlobStorageContext; | 29 class ChromeBlobStorageContext; |
30 class ServiceWorkerCacheMetadata; | 30 class ServiceWorkerCacheMetadata; |
31 class TestServiceWorkerCache; | 31 class TestServiceWorkerCache; |
32 | 32 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 base::Closure ops_complete_callback_; | 210 base::Closure ops_complete_callback_; |
211 | 211 |
212 base::WeakPtrFactory<ServiceWorkerCache> weak_ptr_factory_; | 212 base::WeakPtrFactory<ServiceWorkerCache> weak_ptr_factory_; |
213 | 213 |
214 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerCache); | 214 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerCache); |
215 }; | 215 }; |
216 | 216 |
217 } // namespace content | 217 } // namespace content |
218 | 218 |
219 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ | 219 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CACHE_H_ |
OLD | NEW |