summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_instance.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 21:25:34 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 21:25:34 +0000
commit3bc58e70973f637a55e3e10563b5c274b90f020f (patch)
tree0cd130ef13004f9b16dc626df46c2554ca18d3e5 /webkit/glue/plugins/plugin_instance.h
parent68c73b083028bb08744fbb87faba45a9e2ab6614 (diff)
downloadchromium_src-3bc58e70973f637a55e3e10563b5c274b90f020f.zip
chromium_src-3bc58e70973f637a55e3e10563b5c274b90f020f.tar.gz
chromium_src-3bc58e70973f637a55e3e10563b5c274b90f020f.tar.bz2
This fixes http://code.google.com/p/chromium/issues/detail?id=3585, which is an issue with videos on sites like thedailyshow.com not showing up in Chrome. We recently made a change to send out the plugin SRC as the referrer in requests initiated by plugins.We also use the GetURLNotify codepath for requests which are initiated by us when the plugin is instantiated. It looks like the other browsers don't do the same, and only use the SRC as the referer for explicit plugin requests.Based on a reply on the PluginFutures list we emulate this behavior, which is to default to the containing frame URL as the referer for requests not initiated by plugins.
R=jam Review URL: http://codereview.chromium.org/7871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/plugin_instance.h')
-rw-r--r--webkit/glue/plugins/plugin_instance.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/plugins/plugin_instance.h b/webkit/glue/plugins/plugin_instance.h
index 824c557..6d0d610 100644
--- a/webkit/glue/plugins/plugin_instance.h
+++ b/webkit/glue/plugins/plugin_instance.h
@@ -113,10 +113,6 @@ class PluginInstance : public base::RefCounted<PluginInstance> {
bool notify_needed,
void *notify_data);
- // Convenience function for sending a stream from a URL to this instance.
- // URL can be a relative or a fully qualified url.
- void SendStream(const std::string& url, bool notify_needed,
- void* notify_data);
// For each instance, we track all streams. When the
// instance closes, all remaining streams are also
// closed. All streams associated with this instance