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_DISK_CACHE_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
7 | 7 |
8 #include "content/browser/appcache/appcache_disk_cache.h" | 8 #include "content/browser/appcache/appcache_disk_cache.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 class CONTENT_EXPORT ServiceWorkerResponseWriter | 33 class CONTENT_EXPORT ServiceWorkerResponseWriter |
34 : public AppCacheResponseWriter { | 34 : public AppCacheResponseWriter { |
35 protected: | 35 protected: |
36 // Should only be constructed by the storage class. | 36 // Should only be constructed by the storage class. |
37 friend class ServiceWorkerStorage; | 37 friend class ServiceWorkerStorage; |
38 ServiceWorkerResponseWriter( | 38 ServiceWorkerResponseWriter( |
39 int64 response_id, | 39 int64 response_id, |
40 ServiceWorkerDiskCache* disk_cache); | 40 ServiceWorkerDiskCache* disk_cache); |
41 }; | 41 }; |
42 | 42 |
| 43 class CONTENT_EXPORT ServiceWorkerResponseMetadataWriter |
| 44 : public AppCacheResponseMetadataWriter { |
| 45 protected: |
| 46 // Should only be constructed by the storage class. |
| 47 friend class ServiceWorkerStorage; |
| 48 ServiceWorkerResponseMetadataWriter(int64 response_id, |
| 49 ServiceWorkerDiskCache* disk_cache); |
| 50 }; |
| 51 |
43 } // namespace content | 52 } // namespace content |
44 | 53 |
45 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ | 54 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
OLD | NEW |