| 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_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "content/browser/webui/url_data_manager_backend.h" | 26 #include "content/browser/webui/url_data_manager_backend.h" |
| 27 #include "content/public/browser/browser_context.h" | 27 #include "content/public/browser/browser_context.h" |
| 28 #include "content/public/browser/browser_thread.h" | 28 #include "content/public/browser/browser_thread.h" |
| 29 #include "content/public/browser/content_browser_client.h" | 29 #include "content/public/browser/content_browser_client.h" |
| 30 #include "content/public/browser/storage_partition.h" | 30 #include "content/public/browser/storage_partition.h" |
| 31 #include "content/public/common/content_constants.h" | 31 #include "content/public/common/content_constants.h" |
| 32 #include "content/public/common/url_constants.h" | 32 #include "content/public/common/url_constants.h" |
| 33 #include "crypto/sha2.h" | 33 #include "crypto/sha2.h" |
| 34 #include "net/url_request/url_request_context.h" | 34 #include "net/url_request/url_request_context.h" |
| 35 #include "net/url_request/url_request_context_getter.h" | 35 #include "net/url_request/url_request_context_getter.h" |
| 36 #include "webkit/blob/blob_data.h" | 36 #include "webkit/browser/blob/blob_url_request_job_factory.h" |
| 37 #include "webkit/blob/blob_url_request_job_factory.h" | |
| 38 #include "webkit/browser/fileapi/file_system_url_request_job_factory.h" | 37 #include "webkit/browser/fileapi/file_system_url_request_job_factory.h" |
| 38 #include "webkit/common/blob/blob_data.h" |
| 39 | 39 |
| 40 using appcache::AppCacheService; | 40 using appcache::AppCacheService; |
| 41 using fileapi::FileSystemContext; | 41 using fileapi::FileSystemContext; |
| 42 using webkit_blob::BlobStorageController; | 42 using webkit_blob::BlobStorageController; |
| 43 | 43 |
| 44 namespace content { | 44 namespace content { |
| 45 | 45 |
| 46 namespace { | 46 namespace { |
| 47 | 47 |
| 48 class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { | 48 class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 | 578 |
| 579 // We do not call InitializeURLRequestContext() for media contexts because, | 579 // We do not call InitializeURLRequestContext() for media contexts because, |
| 580 // other than the HTTP cache, the media contexts share the same backing | 580 // other than the HTTP cache, the media contexts share the same backing |
| 581 // objects as their associated "normal" request context. Thus, the previous | 581 // objects as their associated "normal" request context. Thus, the previous |
| 582 // call serves to initialize the media request context for this storage | 582 // call serves to initialize the media request context for this storage |
| 583 // partition as well. | 583 // partition as well. |
| 584 } | 584 } |
| 585 } | 585 } |
| 586 | 586 |
| 587 } // namespace content | 587 } // namespace content |
| OLD | NEW |