| 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_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "webkit/browser/appcache/appcache_disk_cache.h" | 9 #include "webkit/browser/appcache/appcache_disk_cache.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 // Wholesale reusage of the appcache code for response reading, | 13 // Wholesale reusage of the appcache code for response reading, |
| 14 // writing, and storage. See the corresponding class in that | 14 // writing, and storage. See the corresponding class in that |
| 15 // library for doc comments and other details. | 15 // library for doc comments and other details. |
| 16 // TODO(michaeln): If this reuse sticks, refactor/move the | 16 // TODO(michaeln): If this reuse sticks, refactor/move the |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 public: | 45 public: |
| 46 HttpResponseInfoIOBuffer() : appcache::HttpResponseInfoIOBuffer() {} | 46 HttpResponseInfoIOBuffer() : appcache::HttpResponseInfoIOBuffer() {} |
| 47 explicit HttpResponseInfoIOBuffer(net::HttpResponseInfo* info) | 47 explicit HttpResponseInfoIOBuffer(net::HttpResponseInfo* info) |
| 48 : appcache::HttpResponseInfoIOBuffer(info) {} | 48 : appcache::HttpResponseInfoIOBuffer(info) {} |
| 49 protected: | 49 protected: |
| 50 virtual ~HttpResponseInfoIOBuffer(); | 50 virtual ~HttpResponseInfoIOBuffer(); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace content | 53 } // namespace content |
| 54 | 54 |
| 55 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_ | 55 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISK_CACHE_H_ |
| OLD | NEW |