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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2211283004: Drop test-only WebFrameClient params/functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 4 years, 4 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: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 9fb4467fa3001951d3bbc3694a09ca2bc32629fe..0831e45ce2d81f229075930f4d94477c8bf02088 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3930,11 +3930,8 @@ void RenderFrameImpl::saveImageFromDataURL(const blink::WebString& data_url) {
}
}
-void RenderFrameImpl::willSendRequest(
- blink::WebLocalFrame* frame,
- unsigned identifier,
- blink::WebURLRequest& request,
- const blink::WebURLResponse& redirect_response) {
+void RenderFrameImpl::willSendRequest(blink::WebLocalFrame* frame,
+ blink::WebURLRequest& request) {
DCHECK_EQ(frame_, frame);
// The request my be empty during tests.
if (request.url().isEmpty())
@@ -4139,7 +4136,6 @@ void RenderFrameImpl::willSendRequest(
}
void RenderFrameImpl::didReceiveResponse(
- unsigned identifier,
const blink::WebURLResponse& response) {
// Only do this for responses that correspond to a provisional data source
// of the top-most frame. If we have a provisional data source, then we
@@ -5798,7 +5794,7 @@ void RenderFrameImpl::BeginNavigation(const NavigationPolicyInfo& info) {
// TODO(clamy): Apply devtools override.
// TODO(clamy): Make sure that navigation requests are not modified somewhere
// else in blink.
- willSendRequest(frame_, 0, info.urlRequest, blink::WebURLResponse());
+ willSendRequest(frame_, info.urlRequest);
// Update the transition type of the request for client side redirects.
if (!info.urlRequest.getExtraData())

Powered by Google App Engine
This is Rietveld 408576698