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

Unified Diff: third_party/WebKit/Source/web/AssociatedURLLoaderTest.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/web/AssociatedURLLoaderTest.cpp
diff --git a/third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp b/third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp
index f0bd4ed9e7f4f30dc2480fad49581f08ea4451d8..7775028e19362c25b7e91fd05704e908c21bacba 100644
--- a/third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp
+++ b/third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp
@@ -118,7 +118,7 @@ class AssociatedURLLoaderTest : public ::testing::Test,
}
// WebURLLoaderClient implementation.
- void willFollowRedirect(WebURLLoader* loader,
+ bool willFollowRedirect(WebURLLoader* loader,
WebURLRequest& newRequest,
const WebURLResponse& redirectResponse) override {
m_willFollowRedirect = true;
@@ -132,6 +132,7 @@ class AssociatedURLLoaderTest : public ::testing::Test,
redirectResponse.httpStatusCode());
EXPECT_EQ(m_expectedRedirectResponse.mimeType(),
redirectResponse.mimeType());
+ return true;
}
void didSendData(WebURLLoader* loader,
« no previous file with comments | « third_party/WebKit/Source/web/AssociatedURLLoader.cpp ('k') | third_party/WebKit/public/platform/WebURLLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698