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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.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/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 48a9a34a1ffdac665fd74848e86b7320a6f81ae5..701b9715ef1430c93c708d5df257d1892e7d9dca 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -177,7 +177,7 @@ private:
void finishedLoading(double finishTime);
void cancelLoadAfterXFrameOptionsOrCSPDenied(const ResourceResponse&);
- void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) final;
+ bool redirectReceived(Resource*, const ResourceRequest&, const ResourceResponse&) final;
void responseReceived(Resource*, const ResourceResponse&, std::unique_ptr<WebDataConsumerHandle>) final;
void dataReceived(Resource*, const char* data, size_t length) final;
void processData(const char* data, size_t length);

Powered by Google App Engine
This is Rietveld 408576698