diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 22:36:18 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 22:36:18 +0000 |
commit | cdc89119701e2f3f115016faa772ecddbb4025d4 (patch) | |
tree | bc0afb76688cf21ae237f280ba1470753600524c /content/plugin | |
parent | 130dee6eb86395c0541a342c8e0c7cf47e8b9b07 (diff) | |
download | chromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.zip chromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.tar.gz chromium_src-cdc89119701e2f3f115016faa772ecddbb4025d4.tar.bz2 |
Part 1 of changes to to build chrome\common as a dll. Moving some of the functionality provided by plugin_thread.cc
to the default_plugin which is the only caller. Removed the unused AppendToLog function from the webkit_glue
namespace.
BUG=82326
Review URL: http://codereview.chromium.org/7012004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin')
-rw-r--r-- | content/plugin/plugin_thread.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc index de08668..b6ca82a 100644 --- a/content/plugin/plugin_thread.cc +++ b/content/plugin/plugin_thread.cc @@ -140,39 +140,6 @@ void PluginThread::OnNotifyRenderersOfPendingShutdown() { } namespace webkit_glue { - -#if defined(OS_WIN) -bool DownloadUrl(const std::string& url, HWND caller_window) { - PluginThread* plugin_thread = PluginThread::current(); - if (!plugin_thread) { - return false; - } - - IPC::Message* message = - new PluginProcessHostMsg_DownloadUrl(MSG_ROUTING_NONE, url, - ::GetCurrentProcessId(), - caller_window); - return plugin_thread->Send(message); -} -#endif - -bool GetPluginFinderURL(std::string* plugin_finder_url) { - if (!plugin_finder_url) { - NOTREACHED(); - return false; - } - - PluginThread* plugin_thread = PluginThread::current(); - if (!plugin_thread) - return false; - - plugin_thread->Send( - new PluginProcessHostMsg_GetPluginFinderUrl(plugin_finder_url)); - // If we get an empty string back this means the plugin finder has been - // disabled. - return true; -} - bool IsDefaultPluginEnabled() { return true; } |