OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/child/web_url_loader_impl.h" | 7 #include "content/child/web_url_loader_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 using blink::WebSecurityPolicy; | 51 using blink::WebSecurityPolicy; |
52 using blink::WebString; | 52 using blink::WebString; |
53 using blink::WebURL; | 53 using blink::WebURL; |
54 using blink::WebURLError; | 54 using blink::WebURLError; |
55 using blink::WebURLLoadTiming; | 55 using blink::WebURLLoadTiming; |
56 using blink::WebURLLoader; | 56 using blink::WebURLLoader; |
57 using blink::WebURLLoaderClient; | 57 using blink::WebURLLoaderClient; |
58 using blink::WebURLRequest; | 58 using blink::WebURLRequest; |
59 using blink::WebURLResponse; | 59 using blink::WebURLResponse; |
60 using webkit_glue::MultipartResponseDelegate; | 60 using webkit_glue::MultipartResponseDelegate; |
61 using webkit_glue::ResourceDevToolsInfo; | |
62 using webkit_glue::ResourceLoaderBridge; | 61 using webkit_glue::ResourceLoaderBridge; |
63 using webkit_glue::WebURLResponseExtraDataImpl; | 62 using webkit_glue::WebURLResponseExtraDataImpl; |
64 | 63 |
65 namespace content { | 64 namespace content { |
66 | 65 |
67 // Utilities ------------------------------------------------------------------ | 66 // Utilities ------------------------------------------------------------------ |
68 | 67 |
69 namespace { | 68 namespace { |
70 | 69 |
71 const char kThrottledErrorDescription[] = | 70 const char kThrottledErrorDescription[] = |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 void WebURLLoaderImpl::setDefersLoading(bool value) { | 871 void WebURLLoaderImpl::setDefersLoading(bool value) { |
873 context_->SetDefersLoading(value); | 872 context_->SetDefersLoading(value); |
874 } | 873 } |
875 | 874 |
876 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, | 875 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, |
877 int intra_priority_value) { | 876 int intra_priority_value) { |
878 context_->DidChangePriority(new_priority, intra_priority_value); | 877 context_->DidChangePriority(new_priority, intra_priority_value); |
879 } | 878 } |
880 | 879 |
881 } // namespace content | 880 } // namespace content |
OLD | NEW |