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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Patch Set: Use histograms instead of user actions. Created 5 years 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/browser/loader/resource_request_info_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index c2d4477f4f8a10451351a76b6c803e470bd2fbe0..92a3494da53d743dd3e60eaa520d7dab6d9f75fb 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -89,7 +89,8 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
base::WeakPtr<ResourceMessageFilter>(), // filter
false, // report_raw_headers
is_async, // is_async
- is_using_lofi); // is_using_lofi
+ is_using_lofi, // is_using_lofi
+ std::string()); // original_headers
info->AssociateWithRequest(request);
}
@@ -149,7 +150,8 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
base::WeakPtr<ResourceMessageFilter> filter,
bool report_raw_headers,
bool is_async,
- bool is_using_lofi)
+ bool is_using_lofi,
+ const std::string& original_headers)
: cross_site_handler_(NULL),
detachable_handler_(NULL),
process_type_(process_type),
@@ -181,7 +183,8 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
filter_(filter),
report_raw_headers_(report_raw_headers),
is_async_(is_async),
- is_using_lofi_(is_using_lofi) {
+ is_using_lofi_(is_using_lofi),
+ original_headers_(original_headers) {
}
ResourceRequestInfoImpl::~ResourceRequestInfoImpl() {
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698