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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp

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/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
index 9719efc07b392ee80d5cc8149370d75849cc3c23..a785c7199be3cf54e960410010dd57ed0d37157d 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp
@@ -410,10 +410,11 @@ class ServeRequestsOnCompleteClient final
void dataReceived(Resource*, const char*, size_t) override {
ASSERT_TRUE(false);
}
- void redirectReceived(Resource*,
- ResourceRequest&,
+ bool redirectReceived(Resource*,
+ const ResourceRequest&,
const ResourceResponse&) override {
- ASSERT_TRUE(false);
+ ADD_FAILURE();
+ return true;
}
void dataDownloaded(Resource*, int) override { ASSERT_TRUE(false); }
void didReceiveResourceTiming(Resource*, const ResourceTimingInfo&) override {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698