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

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

Issue 2747203002: Make prepareRequest() a separate callback of FetchContext (Closed)
Patch Set: . 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..0feb8ba10f438df4331cd0dea9818bc3d6715585 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -82,6 +82,7 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
void dispatchDidChangeResourcePriority(unsigned long identifier,
ResourceLoadPriority,
int intraPriorityValue) override;
+ void prepareRequest(ResourceRequest&, RedirectType) override;
void dispatchWillSendRequest(
unsigned long identifier,
ResourceRequest&,
@@ -115,11 +116,10 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
bool isInternalRequest) override;
bool shouldLoadNewResource(Resource::Type) const override;
- void willStartLoadingResource(unsigned long identifier,
- ResourceRequest&,
- Resource::Type,
- const AtomicString& fetchInitiatorName,
- V8ActivityLoggingPolicy) override;
+ void recordLoadingActivity(unsigned long identifier,
+ const ResourceRequest&,
+ Resource::Type,
+ const AtomicString& fetchInitiatorName) override;
void didLoadResource(Resource*) override;
void addResourceTiming(const ResourceTimingInfo&) override;
@@ -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