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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp

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
Index: third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
index c9ccce9113ccd16dd428df0adf5961a154c3ad25..850651c5a2953555f0790f166600591ca4d2ceab 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
@@ -53,6 +53,8 @@ WebCachePolicy FetchContext::resourceRequestCachePolicy(
return WebCachePolicy::UseProtocolCachePolicy;
}
+void FetchContext::prepareRequest(ResourceRequest&, RedirectType) {}
+
void FetchContext::dispatchWillSendRequest(unsigned long,
ResourceRequest&,
const ResourceResponse&,
@@ -86,12 +88,11 @@ void FetchContext::dispatchDidFail(unsigned long,
int64_t,
bool) {}
-void FetchContext::willStartLoadingResource(
+void FetchContext::recordLoadingActivity(
unsigned long,
- ResourceRequest&,
+ const ResourceRequest&,
Resource::Type,
- const AtomicString& fetchInitiatorName,
- V8ActivityLoggingPolicy) {}
+ const AtomicString& fetchInitiatorName) {}
void FetchContext::didLoadResource(Resource*) {}

Powered by Google App Engine
This is Rietveld 408576698