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

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

Issue 2653953005: PlzNavigate: transmit redirect info to the renderer side (Closed)
Patch Set: PlzNavigate: transmit redirect info to the renderer side 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
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 16 matching lines...) Expand all
27 struct CONTENT_EXPORT StreamOverrideParameters { 27 struct CONTENT_EXPORT StreamOverrideParameters {
28 public: 28 public:
29 StreamOverrideParameters(); 29 StreamOverrideParameters();
30 ~StreamOverrideParameters(); 30 ~StreamOverrideParameters();
31 // TODO(clamy): The browser should be made aware on destruction of this struct 31 // TODO(clamy): The browser should be made aware on destruction of this struct
32 // that it can release its associated stream handle. 32 // that it can release its associated stream handle.
33 GURL stream_url; 33 GURL stream_url;
34 ResourceResponseHead response; 34 ResourceResponseHead response;
35 std::vector<GURL> redirects; 35 std::vector<GURL> redirects;
36 std::vector<ResourceResponseInfo> redirect_responses; 36 std::vector<ResourceResponseInfo> redirect_responses;
37 std::vector<net::RedirectInfo> redirect_infos;
37 38
38 // The delta between the actual transfer size and the one reported by the 39 // The delta between the actual transfer size and the one reported by the
39 // AsyncResourceLoader due to not having the ResourceResponse. 40 // AsyncResourceLoader due to not having the ResourceResponse.
40 int total_transfer_size_delta; 41 int total_transfer_size_delta;
41 }; 42 };
42 43
43 class CONTENT_EXPORT WebURLLoaderImpl 44 class CONTENT_EXPORT WebURLLoaderImpl
44 : public NON_EXPORTED_BASE(blink::WebURLLoader) { 45 : public NON_EXPORTED_BASE(blink::WebURLLoader) {
45 public: 46 public:
46 47
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 class Context; 81 class Context;
81 class RequestPeerImpl; 82 class RequestPeerImpl;
82 scoped_refptr<Context> context_; 83 scoped_refptr<Context> context_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); 85 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl);
85 }; 86 };
86 87
87 } // namespace content 88 } // namespace content
88 89
89 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 90 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698