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

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

Issue 2230173002: Change WebURLLoaderClient::willFollowRedirect() API to return bool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 2 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/DocumentThreadableLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h
index 054dc368fd925693e546cb7a93fe49149ba4cea2..322c7266ec1c95be863852b264ad32a014ac5222 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h
@@ -45,9 +45,11 @@ class DocumentThreadableLoaderClient : public ThreadableLoaderClient {
public:
bool isDocumentThreadableLoaderClient() final { return true; }
- virtual void willFollowRedirect(
- ResourceRequest& /*newRequest*/,
- const ResourceResponse& /*redirectResponse*/) {}
+ virtual bool willFollowRedirect(
+ const ResourceRequest& /*newRequest*/,
+ const ResourceResponse& /*redirectResponse*/) {
+ return true;
+ }
protected:
DocumentThreadableLoaderClient() {}

Powered by Google App Engine
This is Rietveld 408576698