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_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ | 5 #ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ |
6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ | 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/id_map.h" | 16 #include "base/id_map.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "content/common/cache_storage/cache_storage_types.h" | 19 #include "content/common/cache_storage/cache_storage_types.h" |
20 #include "content/common/service_worker/service_worker_types.h" | 20 #include "content/common/service_worker/service_worker_types.h" |
21 #include "net/base/io_buffer.h" | 21 #include "net/base/io_buffer.h" |
22 #include "net/disk_cache/disk_cache.h" | 22 #include "net/disk_cache/disk_cache.h" |
23 #include "storage/common/quota/quota_status_code.h" | 23 #include "storage/common/quota/quota_status_code.h" |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
27 class IOBufferWithSize; | |
28 } | 27 } |
29 | 28 |
30 namespace storage { | 29 namespace storage { |
31 class BlobDataHandle; | 30 class BlobDataHandle; |
32 class BlobStorageContext; | 31 class BlobStorageContext; |
33 class QuotaManagerProxy; | 32 class QuotaManagerProxy; |
34 } | 33 } |
35 | 34 |
36 namespace content { | 35 namespace content { |
37 class CacheStorage; | 36 class CacheStorage; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 bool memory_only_; | 393 bool memory_only_; |
395 | 394 |
396 base::WeakPtrFactory<CacheStorageCache> weak_ptr_factory_; | 395 base::WeakPtrFactory<CacheStorageCache> weak_ptr_factory_; |
397 | 396 |
398 DISALLOW_COPY_AND_ASSIGN(CacheStorageCache); | 397 DISALLOW_COPY_AND_ASSIGN(CacheStorageCache); |
399 }; | 398 }; |
400 | 399 |
401 } // namespace content | 400 } // namespace content |
402 | 401 |
403 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ | 402 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ |
OLD | NEW |