| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CONTEXT_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CONTEXT_IMPL_H_ |
| 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CONTEXT_IMPL_H_ | 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CONTEXT_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/public/browser/cache_storage_context.h" | 13 #include "content/public/browser/cache_storage_context.h" |
| 14 #include "content/public/browser/cache_storage_usage_info.h" | 14 #include "content/public/browser/cache_storage_usage_info.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class FilePath; | 17 class FilePath; |
| 18 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace net { | 21 namespace net { |
| 22 class URLRequestContextGetter; | 22 class URLRequestContextGetter; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace storage { | 25 namespace storage { |
| 26 class QuotaManagerProxy; | 26 class QuotaManagerProxy; |
| 27 class SpecialStoragePolicy; | |
| 28 } | 27 } |
| 29 | 28 |
| 30 namespace content { | 29 namespace content { |
| 31 | 30 |
| 32 class BrowserContext; | 31 class BrowserContext; |
| 33 class ChromeBlobStorageContext; | 32 class ChromeBlobStorageContext; |
| 34 class CacheStorageManager; | 33 class CacheStorageManager; |
| 35 | 34 |
| 36 // One instance of this exists per StoragePartition, and services multiple | 35 // One instance of this exists per StoragePartition, and services multiple |
| 37 // child processes/origins. Most logic is delegated to the owned | 36 // child processes/origins. Most logic is delegated to the owned |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 // Initialized in Init(); true if the user data directory is empty. | 80 // Initialized in Init(); true if the user data directory is empty. |
| 82 bool is_incognito_ = false; | 81 bool is_incognito_ = false; |
| 83 | 82 |
| 84 // Only accessed on the IO thread. | 83 // Only accessed on the IO thread. |
| 85 std::unique_ptr<CacheStorageManager> cache_manager_; | 84 std::unique_ptr<CacheStorageManager> cache_manager_; |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace content | 87 } // namespace content |
| 89 | 88 |
| 90 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CONTEXT_IMPL_H_ | 89 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CONTEXT_IMPL_H_ |
| OLD | NEW |