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

Unified Diff: content/child/web_url_loader_impl.h

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Nit + rebase + build fix Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/child/web_url_loader_impl.h
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h
index 20f8b5817eed4dfaa950ba8613ccb802c82c9416..de11ee2f004e882fabb4d26d9998c71899fa1122 100644
--- a/content/child/web_url_loader_impl.h
+++ b/content/child/web_url_loader_impl.h
@@ -26,12 +26,16 @@ class ResourceDispatcher;
struct ResourceResponseInfo;
// PlzNavigate: Used to override parameters of the navigation request.
-struct StreamOverrideParameters {
+struct CONTENT_EXPORT StreamOverrideParameters {
public:
+ StreamOverrideParameters();
+ ~StreamOverrideParameters();
// TODO(clamy): The browser should be made aware on destruction of this struct
// that it can release its associated stream handle.
GURL stream_url;
ResourceResponseHead response;
+ std::vector<GURL> redirects;
+ std::vector<ResourceResponseInfo> redirect_responses;
};
class CONTENT_EXPORT WebURLLoaderImpl

Powered by Google App Engine
This is Rietveld 408576698