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/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "content/public/common/content_constants.h" | 25 #include "content/public/common/content_constants.h" |
26 #include "content/public/common/url_constants.h" | 26 #include "content/public/common/url_constants.h" |
27 #include "net/url_request/url_request_context_getter.h" | 27 #include "net/url_request/url_request_context_getter.h" |
28 #include "net/url_request/url_request_context.h" | 28 #include "net/url_request/url_request_context.h" |
29 #include "webkit/appcache/view_appcache_internals_job.h" | 29 #include "webkit/appcache/view_appcache_internals_job.h" |
30 #include "webkit/blob/blob_data.h" | 30 #include "webkit/blob/blob_data.h" |
31 #include "webkit/blob/blob_url_request_job_factory.h" | 31 #include "webkit/blob/blob_url_request_job_factory.h" |
32 #include "webkit/fileapi/file_system_url_request_job_factory.h" | 32 #include "webkit/fileapi/file_system_url_request_job_factory.h" |
33 | 33 |
34 using appcache::AppCacheService; | 34 using appcache::AppCacheService; |
35 using content::BrowserThread; | |
36 using fileapi::FileSystemContext; | 35 using fileapi::FileSystemContext; |
37 using webkit_blob::BlobStorageController; | 36 using webkit_blob::BlobStorageController; |
38 | 37 |
39 namespace content { | 38 namespace content { |
40 | 39 |
41 namespace { | 40 namespace { |
42 | 41 |
43 class BlobProtocolHandler : public webkit_blob::BlobProtocolHandler { | 42 class BlobProtocolHandler : public webkit_blob::BlobProtocolHandler { |
44 public: | 43 public: |
45 BlobProtocolHandler( | 44 BlobProtocolHandler( |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 271 |
273 // We do not call InitializeURLRequestContext() for media contexts because, | 272 // We do not call InitializeURLRequestContext() for media contexts because, |
274 // other than the HTTP cache, the media contexts share the same backing | 273 // other than the HTTP cache, the media contexts share the same backing |
275 // objects as their associated "normal" request context. Thus, the previous | 274 // objects as their associated "normal" request context. Thus, the previous |
276 // call serves to initialize the media request context for this storage | 275 // call serves to initialize the media request context for this storage |
277 // partition as well. | 276 // partition as well. |
278 } | 277 } |
279 } | 278 } |
280 | 279 |
281 } // namespace content | 280 } // namespace content |
OLD | NEW |