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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2748463002: Split header modification out of willSendRequest
Patch Set: bug fix Created 3 years, 9 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: third_party/WebKit/Source/core/loader/FrameFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
index 32de7a291067fce7e8f896e03ec8d82d40c687db..8dd47a5561a90c1f7f5d9d29fade943d83530bad 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -82,11 +82,11 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority,
int intraPriorityValue) override;
- void dispatchWillSendRequest(
- unsigned long identifier,
- ResourceRequest&,
- const ResourceResponse& redirectResponse,
- const FetchInitiatorInfo& = FetchInitiatorInfo()) override;
+ void prepareRequest(unsigned long identifier, ResourceRequest&) override;
+ void dispatchWillSendRequest(unsigned long identifier,
+ const ResourceRequest&,
+ const ResourceResponse& redirectResponse,
+ const FetchInitiatorInfo&) override;
void dispatchDidLoadResourceFromMemoryCache(
unsigned long identifier,
Resource*,
@@ -195,8 +195,6 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
FetchRequest::OriginRestriction,
ResourceRequest::RedirectStatus) const;
- void prepareRequest(ResourceRequest&);
-
void dispatchDidReceiveResponseInternal(unsigned long identifier,
const ResourceResponse&,
WebURLRequest::FrameType,

Powered by Google App Engine
This is Rietveld 408576698