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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.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/DocumentThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
index 6c3d541fab62d0470535ac858b755bd5bd01fed6..06b19a11e48677a11f5e8b4f51323479101b944c 100644
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h
@@ -108,8 +108,8 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader,
std::unique_ptr<WebDataConsumerHandle>) override;
void setSerializedCachedMetadata(Resource*, const char*, size_t) override;
void dataReceived(Resource*, const char* data, size_t dataLength) override;
- void redirectReceived(Resource*,
- ResourceRequest&,
+ bool redirectReceived(Resource*,
+ const ResourceRequest&,
const ResourceResponse&) override;
void redirectBlocked() override;
void dataDownloaded(Resource*, int) override;

Powered by Google App Engine
This is Rietveld 408576698