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 // An implementation of WebURLLoader in terms of ResourceLoaderBridge. | 5 // An implementation of WebURLLoader in terms of ResourceLoaderBridge. |
6 | 6 |
7 #include "webkit/glue/weburlloader_impl.h" | 7 #include "webkit/glue/weburlloader_impl.h" |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "net/http/http_util.h" | 22 #include "net/http/http_util.h" |
23 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" | 23 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
24 #include "third_party/WebKit/public/platform/WebHTTPLoadInfo.h" | 24 #include "third_party/WebKit/public/platform/WebHTTPLoadInfo.h" |
25 #include "third_party/WebKit/public/platform/WebURL.h" | 25 #include "third_party/WebKit/public/platform/WebURL.h" |
26 #include "third_party/WebKit/public/platform/WebURLError.h" | 26 #include "third_party/WebKit/public/platform/WebURLError.h" |
27 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 27 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
28 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h" | 28 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h" |
29 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 29 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
30 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 30 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
32 #include "webkit/base/file_path_string_conversions.h" | 32 #include "webkit/common/base/file_path_string_conversions.h" |
33 #include "webkit/glue/ftp_directory_listing_response_delegate.h" | 33 #include "webkit/glue/ftp_directory_listing_response_delegate.h" |
34 #include "webkit/glue/multipart_response_delegate.h" | 34 #include "webkit/glue/multipart_response_delegate.h" |
35 #include "webkit/glue/resource_loader_bridge.h" | 35 #include "webkit/glue/resource_loader_bridge.h" |
36 #include "webkit/glue/resource_request_body.h" | 36 #include "webkit/glue/resource_request_body.h" |
37 #include "webkit/glue/webkitplatformsupport_impl.h" | 37 #include "webkit/glue/webkitplatformsupport_impl.h" |
38 #include "webkit/glue/weburlrequest_extradata_impl.h" | 38 #include "webkit/glue/weburlrequest_extradata_impl.h" |
39 #include "webkit/glue/weburlresponse_extradata_impl.h" | 39 #include "webkit/glue/weburlresponse_extradata_impl.h" |
40 | 40 |
41 using base::Time; | 41 using base::Time; |
42 using base::TimeTicks; | 42 using base::TimeTicks; |
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 | 847 |
848 void WebURLLoaderImpl::setDefersLoading(bool value) { | 848 void WebURLLoaderImpl::setDefersLoading(bool value) { |
849 context_->SetDefersLoading(value); | 849 context_->SetDefersLoading(value); |
850 } | 850 } |
851 | 851 |
852 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) { | 852 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) { |
853 context_->DidChangePriority(new_priority); | 853 context_->DidChangePriority(new_priority); |
854 } | 854 } |
855 | 855 |
856 } // namespace webkit_glue | 856 } // namespace webkit_glue |
OLD | NEW |