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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.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/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index b6733bbb5e5a4f4519c6f4cff58ce1b89447579b..ca1c89b4940d60bd2c4cabd32ea3808532ed2940 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -208,7 +208,8 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
}
void setResourceBuffer(PassRefPtr<SharedBuffer>);
- virtual void willFollowRedirect(ResourceRequest&, const ResourceResponse&);
+ virtual bool willFollowRedirect(const ResourceRequest&,
+ const ResourceResponse&);
// Called when a redirect response was received but a decision has already
// been made to not follow it.
« no previous file with comments | « third_party/WebKit/Source/core/fetch/RawResourceTest.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698