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 #include "content/browser/cache_storage/cache_storage_context_impl.h" | 5 #include "content/browser/cache_storage/cache_storage_context_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/threading/sequenced_worker_pool.h" | 9 #include "base/threading/sequenced_worker_pool.h" |
| 10 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
10 #include "content/browser/cache_storage/cache_storage_manager.h" | 11 #include "content/browser/cache_storage/cache_storage_manager.h" |
11 #include "content/browser/fileapi/chrome_blob_storage_context.h" | |
12 #include "content/public/browser/browser_context.h" | 12 #include "content/public/browser/browser_context.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
15 #include "storage/browser/blob/blob_storage_context.h" | 15 #include "storage/browser/blob/blob_storage_context.h" |
16 #include "storage/browser/quota/quota_manager_proxy.h" | 16 #include "storage/browser/quota/quota_manager_proxy.h" |
17 #include "storage/browser/quota/special_storage_policy.h" | 17 #include "storage/browser/quota/special_storage_policy.h" |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 CacheStorageContextImpl::CacheStorageContextImpl( | 21 CacheStorageContextImpl::CacheStorageContextImpl( |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 user_data_directory, cache_task_runner, std::move(quota_manager_proxy)); | 110 user_data_directory, cache_task_runner, std::move(quota_manager_proxy)); |
111 } | 111 } |
112 | 112 |
113 void CacheStorageContextImpl::ShutdownOnIO() { | 113 void CacheStorageContextImpl::ShutdownOnIO() { |
114 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 114 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
115 | 115 |
116 cache_manager_.reset(); | 116 cache_manager_.reset(); |
117 } | 117 } |
118 | 118 |
119 } // namespace content | 119 } // namespace content |
OLD | NEW |