diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 15:05:21 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-21 15:05:21 +0000 |
commit | 397908018088686f21a81bbb822c519bdc2eae7a (patch) | |
tree | 6bcbe9ae0d6038f782b4d628c3f1a4f098584463 /chrome/renderer/webplugin_delegate_proxy.cc | |
parent | 77c327ddb532777dde7e3a6f5dc078d4a76dcfab (diff) | |
download | chromium_src-397908018088686f21a81bbb822c519bdc2eae7a.zip chromium_src-397908018088686f21a81bbb822c519bdc2eae7a.tar.gz chromium_src-397908018088686f21a81bbb822c519bdc2eae7a.tar.bz2 |
More removal of WebCore usage from webplugin_impl.cc
Adds a few helper methods on WebFrame.
R=jam
BUG=10036
TEST=none
Review URL: http://codereview.chromium.org/173152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r-- | chrome/renderer/webplugin_delegate_proxy.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc index ef2a3d4..db73717 100644 --- a/chrome/renderer/webplugin_delegate_proxy.cc +++ b/chrome/renderer/webplugin_delegate_proxy.cc @@ -70,7 +70,7 @@ class ResourceClientProxy : public WebPluginResourceClient { ~ResourceClientProxy() { } - void Initialize(int resource_id, const std::string &url, bool notify_needed, + void Initialize(int resource_id, const GURL& url, bool notify_needed, intptr_t notify_data, intptr_t existing_stream) { resource_id_ = resource_id; url_ = url; @@ -150,7 +150,7 @@ class ResourceClientProxy : public WebPluginResourceClient { scoped_refptr<PluginChannelHost> channel_; int instance_id_; int resource_id_; - std::string url_; + GURL url_; bool notify_needed_; intptr_t notify_data_; // Set to true if the response expected is a multibyte response. @@ -316,7 +316,7 @@ void WebPluginDelegateProxy::SendJavaScriptStream(const std::string& url, } void WebPluginDelegateProxy::DidReceiveManualResponse( - const std::string& url, const std::string& mime_type, + const GURL& url, const std::string& mime_type, const std::string& headers, uint32 expected_length, uint32 last_modified) { PluginMsg_DidReceiveResponseParams params; @@ -1021,7 +1021,7 @@ void WebPluginDelegateProxy::OnHandleURLRequest( } WebPluginResourceClient* WebPluginDelegateProxy::CreateResourceClient( - int resource_id, const std::string &url, bool notify_needed, + int resource_id, const GURL& url, bool notify_needed, intptr_t notify_data, intptr_t npstream) { ResourceClientProxy* proxy = new ResourceClientProxy(channel_host_, instance_id_); |