From 96a0fb0c0b28f31c2a6d1352ad558fa6aeba3f21 Mon Sep 17 00:00:00 2001 From: tyoshino Date: Mon, 5 Oct 2015 20:41:25 -0700 Subject: Rename WebURLLoaderClient::willSendRequest to willFollowRedirect This client method is invoked to do something before handling redirect. It should be named to indicate that. BUG=none R=kinuko,mkwst,wolenetz Review URL: https://codereview.chromium.org/1367673004 Cr-Commit-Position: refs/heads/master@{#352531} --- content/renderer/npapi/webplugin_impl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'content/renderer/npapi/webplugin_impl.h') diff --git a/content/renderer/npapi/webplugin_impl.h b/content/renderer/npapi/webplugin_impl.h index 517157f..75bc0ff4 100644 --- a/content/renderer/npapi/webplugin_impl.h +++ b/content/renderer/npapi/webplugin_impl.h @@ -207,9 +207,9 @@ class WebPluginImpl : public WebPlugin, // WebURLLoaderClient implementation. We implement this interface in the // renderer process, and then use the simple WebPluginResourceClient interface // to relay the callbacks to the plugin. - void willSendRequest(blink::WebURLLoader* loader, - blink::WebURLRequest& request, - const blink::WebURLResponse& response); + void willFollowRedirect(blink::WebURLLoader* loader, + blink::WebURLRequest& new_request, + const blink::WebURLResponse& response); void didSendData(blink::WebURLLoader* loader, unsigned long long bytes_sent, unsigned long long total_bytes_to_be_sent); @@ -329,9 +329,9 @@ class WebPluginImpl : public WebPlugin, public: LoaderClient(WebPluginImpl*); - void willSendRequest(blink::WebURLLoader*, - blink::WebURLRequest&, - const blink::WebURLResponse&) override; + void willFollowRedirect(blink::WebURLLoader*, + blink::WebURLRequest&, + const blink::WebURLResponse&) override; void didSendData(blink::WebURLLoader*, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override; -- cgit v1.1