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

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

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
Index: content/browser/loader/resource_request_info_impl.h
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index 114c238b750ffe3bc65e6f3a3cd27db165f9d29c..827a3f0a68aa2b8311190eb6d3d471860b0f7cf5 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -66,7 +66,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
base::WeakPtr<ResourceMessageFilter> filter,
bool report_raw_headers,
bool is_async,
- bool is_using_lofi);
+ bool is_using_lofi,
+ const std::string& original_headers);
~ResourceRequestInfoImpl() override;
// ResourceRequestInfo implementation:
@@ -183,6 +184,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
void set_do_not_prompt_for_login(bool do_not_prompt) {
do_not_prompt_for_login_ = do_not_prompt;
}
+ const std::string& original_headers() const { return original_headers_; }
private:
FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
@@ -225,6 +227,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool report_raw_headers_;
bool is_async_;
bool is_using_lofi_;
+ const std::string original_headers_;
DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
};
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698