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

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

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/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 00b0a35a54711fa117d8636445f00d4ab1e17bd1..a3338b126f40823c8bf665fd59769c2df8dafa9d 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.cpp
@@ -57,6 +57,8 @@ WebCachePolicy FetchContext::resourceRequestCachePolicy(
return WebCachePolicy::UseProtocolCachePolicy;
}
+void FetchContext::prepareRequest(ResourceRequest&, RedirectType) {}
+
void FetchContext::dispatchWillSendRequest(unsigned long,
ResourceRequest&,
const ResourceResponse&,
@@ -90,12 +92,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