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

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

Issue 2747203002: Make prepareRequest() a separate callback of FetchContext (Closed)
Patch Set: addressed comments 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b30cecf4fcfcb33db07037aae828798616ef45dd..de7850a10b12090c36d0c86a2ac5ea48051e9a8a 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -81,6 +81,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&,
@@ -114,11 +115,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;
@@ -194,8 +194,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,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698