| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/storage_partition_impl_map.h" | 5 #include "content/browser/storage_partition_impl_map.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
| 14 #include "base/threading/worker_pool.h" | 14 #include "base/threading/worker_pool.h" |
| 15 #include "content/browser/appcache/chrome_appcache_service.h" | 15 #include "content/browser/appcache/chrome_appcache_service.h" |
| 16 #include "content/browser/fileapi/browser_file_system_helper.h" | 16 #include "content/browser/fileapi/browser_file_system_helper.h" |
| 17 #include "content/browser/fileapi/chrome_blob_storage_context.h" | 17 #include "content/browser/fileapi/chrome_blob_storage_context.h" |
| 18 #include "content/browser/histogram_internals_request_job.h" | 18 #include "content/browser/histogram_internals_request_job.h" |
| 19 #include "content/browser/loader/resource_request_info_impl.h" |
| 19 #include "content/browser/net/view_blob_internals_job_factory.h" | 20 #include "content/browser/net/view_blob_internals_job_factory.h" |
| 20 #include "content/browser/net/view_http_cache_job_factory.h" | 21 #include "content/browser/net/view_http_cache_job_factory.h" |
| 21 #include "content/browser/renderer_host/resource_request_info_impl.h" | |
| 22 #include "content/browser/resource_context_impl.h" | 22 #include "content/browser/resource_context_impl.h" |
| 23 #include "content/browser/storage_partition_impl.h" | 23 #include "content/browser/storage_partition_impl.h" |
| 24 #include "content/browser/tcmalloc_internals_request_job.h" | 24 #include "content/browser/tcmalloc_internals_request_job.h" |
| 25 #include "content/public/browser/browser_context.h" | 25 #include "content/public/browser/browser_context.h" |
| 26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
| 27 #include "content/public/browser/content_browser_client.h" | 27 #include "content/public/browser/content_browser_client.h" |
| 28 #include "content/public/browser/storage_partition.h" | 28 #include "content/public/browser/storage_partition.h" |
| 29 #include "content/public/common/content_constants.h" | 29 #include "content/public/common/content_constants.h" |
| 30 #include "content/public/common/url_constants.h" | 30 #include "content/public/common/url_constants.h" |
| 31 #include "crypto/sha2.h" | 31 #include "crypto/sha2.h" |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 | 506 |
| 507 // We do not call InitializeURLRequestContext() for media contexts because, | 507 // We do not call InitializeURLRequestContext() for media contexts because, |
| 508 // other than the HTTP cache, the media contexts share the same backing | 508 // other than the HTTP cache, the media contexts share the same backing |
| 509 // objects as their associated "normal" request context. Thus, the previous | 509 // objects as their associated "normal" request context. Thus, the previous |
| 510 // call serves to initialize the media request context for this storage | 510 // call serves to initialize the media request context for this storage |
| 511 // partition as well. | 511 // partition as well. |
| 512 } | 512 } |
| 513 } | 513 } |
| 514 | 514 |
| 515 } // namespace content | 515 } // namespace content |
| OLD | NEW |