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

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: Addressed jochen's point Created 4 years, 3 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 179ef361983e1cbd4bdf1737b493f8246925d626..8ce743d62c3f24dae852d866c5038d91cb43455d 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoaderClient.h
@@ -44,7 +44,10 @@ 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