Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Side by Side Diff: content/child/web_url_loader_impl.cc

Issue 293353007: Move resource_response_info from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/web_url_loader_impl.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 61 using webkit_glue::ResourceDevToolsInfo;
62 using webkit_glue::ResourceLoaderBridge; 62 using webkit_glue::ResourceLoaderBridge;
63 using webkit_glue::ResourceResponseInfo;
64 using webkit_glue::WebURLResponseExtraDataImpl; 63 using webkit_glue::WebURLResponseExtraDataImpl;
65 64
66 namespace content { 65 namespace content {
67 66
68 // Utilities ------------------------------------------------------------------ 67 // Utilities ------------------------------------------------------------------
69 68
70 namespace { 69 namespace {
71 70
72 const char kThrottledErrorDescription[] = 71 const char kThrottledErrorDescription[] =
73 "Request throttled. Visit http://dev.chromium.org/throttling for more " 72 "Request throttled. Visit http://dev.chromium.org/throttling for more "
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 void WebURLLoaderImpl::setDefersLoading(bool value) { 869 void WebURLLoaderImpl::setDefersLoading(bool value) {
871 context_->SetDefersLoading(value); 870 context_->SetDefersLoading(value);
872 } 871 }
873 872
874 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority, 873 void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority,
875 int intra_priority_value) { 874 int intra_priority_value) {
876 context_->DidChangePriority(new_priority, intra_priority_value); 875 context_->DidChangePriority(new_priority, intra_priority_value);
877 } 876 }
878 877
879 } // namespace content 878 } // namespace content
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698