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

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: Remove unnecessary copied comment. Created 5 years, 1 month 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 34d05b98164f6f281f92264fcf660b05d3db4ac3..20f0c3b084b4743af1571ba4f3d59b2be9a20c21 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -64,7 +64,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
blink::WebPageVisibilityState visibility_state,
ResourceContext* context,
base::WeakPtr<ResourceMessageFilter> filter,
- bool is_async);
+ bool is_async,
+ const std::string& original_headers);
~ResourceRequestInfoImpl() override;
// ResourceRequestInfo implementation:
@@ -178,6 +179,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,
@@ -218,6 +220,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
// exits during a transfer.
base::WeakPtr<ResourceMessageFilter> filter_;
bool is_async_;
+ const std::string original_headers_;
DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl);
};

Powered by Google App Engine
This is Rietveld 408576698