diff options
author | tyoshino <tyoshino@chromium.org> | 2015-10-05 20:41:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-06 03:42:48 +0000 |
commit | 96a0fb0c0b28f31c2a6d1352ad558fa6aeba3f21 (patch) | |
tree | 0d28ff5d332ce1ca606bf62cefe5e1059f59cd50 /content/renderer/npapi/webplugin_impl.h | |
parent | e43282ad894a8158cac4c59a48ffbb281acbb768 (diff) | |
download | chromium_src-96a0fb0c0b28f31c2a6d1352ad558fa6aeba3f21.zip chromium_src-96a0fb0c0b28f31c2a6d1352ad558fa6aeba3f21.tar.gz chromium_src-96a0fb0c0b28f31c2a6d1352ad558fa6aeba3f21.tar.bz2 |
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}
Diffstat (limited to 'content/renderer/npapi/webplugin_impl.h')
-rw-r--r-- | content/renderer/npapi/webplugin_impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
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; |