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

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: Rebase 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
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 97f94f0afe5bc8d03702c47ba7e861d04eb0f3fd..ccf721b424fc7f0f44cfdff8a2071c4ac10c213e 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3916,11 +3916,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())
@@ -4125,7 +4122,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
@@ -5821,7 +5817,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())
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698