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/files/file_enumerator.h" | 9 #include "base/files/file_enumerator.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "content/browser/webui/url_data_manager_backend.h" | 28 #include "content/browser/webui/url_data_manager_backend.h" |
29 #include "content/public/browser/browser_context.h" | 29 #include "content/public/browser/browser_context.h" |
30 #include "content/public/browser/browser_thread.h" | 30 #include "content/public/browser/browser_thread.h" |
31 #include "content/public/browser/content_browser_client.h" | 31 #include "content/public/browser/content_browser_client.h" |
32 #include "content/public/browser/storage_partition.h" | 32 #include "content/public/browser/storage_partition.h" |
33 #include "content/public/common/content_constants.h" | 33 #include "content/public/common/content_constants.h" |
34 #include "content/public/common/url_constants.h" | 34 #include "content/public/common/url_constants.h" |
35 #include "crypto/sha2.h" | 35 #include "crypto/sha2.h" |
36 #include "net/url_request/url_request_context.h" | 36 #include "net/url_request/url_request_context.h" |
37 #include "net/url_request/url_request_context_getter.h" | 37 #include "net/url_request/url_request_context_getter.h" |
| 38 #include "storage/browser/blob/blob_storage_context.h" |
| 39 #include "storage/browser/blob/blob_url_request_job_factory.h" |
| 40 #include "storage/browser/fileapi/file_system_url_request_job_factory.h" |
38 #include "storage/common/blob/blob_data.h" | 41 #include "storage/common/blob/blob_data.h" |
39 #include "webkit/browser/blob/blob_storage_context.h" | |
40 #include "webkit/browser/blob/blob_url_request_job_factory.h" | |
41 #include "webkit/browser/fileapi/file_system_url_request_job_factory.h" | |
42 | 42 |
43 using storage::FileSystemContext; | 43 using storage::FileSystemContext; |
44 using storage::BlobStorageContext; | 44 using storage::BlobStorageContext; |
45 | 45 |
46 namespace content { | 46 namespace content { |
47 | 47 |
48 namespace { | 48 namespace { |
49 | 49 |
50 // A derivative that knows about Streams too. | 50 // A derivative that knows about Streams too. |
51 class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { | 51 class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 | 589 |
590 // We do not call InitializeURLRequestContext() for media contexts because, | 590 // We do not call InitializeURLRequestContext() for media contexts because, |
591 // other than the HTTP cache, the media contexts share the same backing | 591 // other than the HTTP cache, the media contexts share the same backing |
592 // objects as their associated "normal" request context. Thus, the previous | 592 // objects as their associated "normal" request context. Thus, the previous |
593 // call serves to initialize the media request context for this storage | 593 // call serves to initialize the media request context for this storage |
594 // partition as well. | 594 // partition as well. |
595 } | 595 } |
596 } | 596 } |
597 | 597 |
598 } // namespace content | 598 } // namespace content |
OLD | NEW |