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

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

Issue 2653953005: PlzNavigate: transmit redirect info to the renderer side (Closed)
Patch Set: Rebase + addressed comments Created 3 years, 10 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
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('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 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 12 matching lines...) Expand all
23 struct CONTENT_EXPORT StreamOverrideParameters { 23 struct CONTENT_EXPORT StreamOverrideParameters {
24 public: 24 public:
25 StreamOverrideParameters(); 25 StreamOverrideParameters();
26 ~StreamOverrideParameters(); 26 ~StreamOverrideParameters();
27 // TODO(clamy): The browser should be made aware on destruction of this struct 27 // TODO(clamy): The browser should be made aware on destruction of this struct
28 // that it can release its associated stream handle. 28 // that it can release its associated stream handle.
29 GURL stream_url; 29 GURL stream_url;
30 ResourceResponseHead response; 30 ResourceResponseHead response;
31 std::vector<GURL> redirects; 31 std::vector<GURL> redirects;
32 std::vector<ResourceResponseInfo> redirect_responses; 32 std::vector<ResourceResponseInfo> redirect_responses;
33 std::vector<net::RedirectInfo> redirect_infos;
33 34
34 // The delta between the actual transfer size and the one reported by the 35 // The delta between the actual transfer size and the one reported by the
35 // AsyncResourceLoader due to not having the ResourceResponse. 36 // AsyncResourceLoader due to not having the ResourceResponse.
36 int total_transfer_size_delta; 37 int total_transfer_size_delta;
37 }; 38 };
38 39
39 class CONTENT_EXPORT WebURLLoaderImpl 40 class CONTENT_EXPORT WebURLLoaderImpl
40 : public NON_EXPORTED_BASE(blink::WebURLLoader) { 41 : public NON_EXPORTED_BASE(blink::WebURLLoader) {
41 public: 42 public:
42 43
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 class Context; 76 class Context;
76 class RequestPeerImpl; 77 class RequestPeerImpl;
77 scoped_refptr<Context> context_; 78 scoped_refptr<Context> context_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); 80 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl);
80 }; 81 };
81 82
82 } // namespace content 83 } // namespace content
83 84
84 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 85 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698