| 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_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_MANAGER_H_ | 6 #define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/gtest_prod_util.h" | |
| 14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 15 #include "content/browser/cache_storage/cache_storage.h" | 14 #include "content/browser/cache_storage/cache_storage.h" |
| 16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 17 #include "content/public/browser/cache_storage_context.h" | 16 #include "content/public/browser/cache_storage_context.h" |
| 18 #include "content/public/browser/cache_storage_usage_info.h" | 17 #include "content/public/browser/cache_storage_usage_info.h" |
| 19 #include "net/url_request/url_request_context_getter.h" | 18 #include "net/url_request/url_request_context_getter.h" |
| 20 #include "storage/browser/quota/quota_client.h" | 19 #include "storage/browser/quota/quota_client.h" |
| 21 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 22 | 21 |
| 23 namespace base { | 22 namespace base { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; | 154 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; |
| 156 base::WeakPtr<storage::BlobStorageContext> blob_context_; | 155 base::WeakPtr<storage::BlobStorageContext> blob_context_; |
| 157 | 156 |
| 158 base::WeakPtrFactory<CacheStorageManager> weak_ptr_factory_; | 157 base::WeakPtrFactory<CacheStorageManager> weak_ptr_factory_; |
| 159 DISALLOW_COPY_AND_ASSIGN(CacheStorageManager); | 158 DISALLOW_COPY_AND_ASSIGN(CacheStorageManager); |
| 160 }; | 159 }; |
| 161 | 160 |
| 162 } // namespace content | 161 } // namespace content |
| 163 | 162 |
| 164 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_MANAGER_H_ | 163 #endif // CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_MANAGER_H_ |
| OLD | NEW |