| 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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 void WebURLLoaderImpl::setDefersLoading(bool value) { | 868 void WebURLLoaderImpl::setDefersLoading(bool value) { |
| 870 context_->SetDefersLoading(value); | 869 context_->SetDefersLoading(value); |
| 871 } | 870 } |
| 872 | 871 |
| 873 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, | 872 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, |
| 874 int intra_priority_value) { | 873 int intra_priority_value) { |
| 875 context_->DidChangePriority(new_priority, intra_priority_value); | 874 context_->DidChangePriority(new_priority, intra_priority_value); |
| 876 } | 875 } |
| 877 | 876 |
| 878 } // namespace content | 877 } // namespace content |
| OLD | NEW |