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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp

Issue 2537753002: Remove WebURLLoader* argument from WebURLLoaderClient methods (Closed)
Patch Set: a Created 4 years, 1 month 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/platform/exported/WebURLLoaderTestDelegate.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp b/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
index 072bbbf895c1f184db1abe4287551aceb6726a3a..8f945e304da0055d102c544cbf9c24d374402e88 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLLoaderTestDelegate.cpp
@@ -17,36 +17,32 @@ WebURLLoaderTestDelegate::~WebURLLoaderTestDelegate() {}
void WebURLLoaderTestDelegate::didReceiveResponse(
WebURLLoaderClient* originalClient,
- WebURLLoader* loader,
const WebURLResponse& response) {
- originalClient->didReceiveResponse(loader, response);
+ originalClient->didReceiveResponse(response);
}
void WebURLLoaderTestDelegate::didReceiveData(
WebURLLoaderClient* originalClient,
- WebURLLoader* loader,
const char* data,
int dataLength,
int encodedDataLength) {
- originalClient->didReceiveData(loader, data, dataLength, encodedDataLength);
+ originalClient->didReceiveData(data, dataLength, encodedDataLength);
}
void WebURLLoaderTestDelegate::didFail(WebURLLoaderClient* originalClient,
- WebURLLoader* loader,
const WebURLError& error,
int64_t totalEncodedDataLength,
int64_t totalEncodedBodyLength) {
- originalClient->didFail(loader, error, totalEncodedDataLength,
+ originalClient->didFail(error, totalEncodedDataLength,
totalEncodedBodyLength);
}
void WebURLLoaderTestDelegate::didFinishLoading(
WebURLLoaderClient* originalClient,
- WebURLLoader* loader,
double finishTime,
int64_t totalEncodedDataLength,
int64_t totalEncodedBodyLength) {
- originalClient->didFinishLoading(loader, finishTime, totalEncodedDataLength,
+ originalClient->didFinishLoading(finishTime, totalEncodedDataLength,
totalEncodedBodyLength);
}
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.cpp ('k') | third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698