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

Unified Diff: content/child/request_extra_data.h

Issue 2345253002: Remove content::RequestInfo (Closed)
Patch Set: Rebase 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
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index d7583d17e23b2bc2152c93be313892b23d52a8b4..817457cf6599a3ee2c09701b380f1819d429def5 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -19,6 +19,8 @@
namespace content {
+struct ResourceRequest;
+
// Can be used by callers to store extra data on every ResourceRequest
// which will be incorporated into the ResourceHostMsg_RequestResource message
// sent by ResourceDispatcher.
@@ -146,6 +148,8 @@ class CONTENT_EXPORT RequestExtraData
download_to_network_cache_only_ = download_to_cache;
}
+ void CopyToResourceRequest(ResourceRequest* request) const;
+
private:
blink::WebPageVisibilityState visibility_state_;
int render_frame_id_;
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698