From 49fd5cd62a9773ce94fdd5e0e3d048d8c4fd0ff0 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Tue, 28 Apr 2009 19:58:53 +0000 Subject: plugins: Some obvious ifdef removals (code that previously wouldn't link). Review URL: http://codereview.chromium.org/100118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14773 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/plugin_process_host.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'chrome/browser/plugin_process_host.cc') diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index 833b593..4d50664 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -42,7 +42,6 @@ #include "net/url_request/url_request_context.h" #include "webkit/glue/plugins/plugin_constants_win.h" -// TODO(port): Port these files. #if defined(OS_WIN) #include "base/win_util.h" #include "chrome/browser/sandbox_policy.h" @@ -495,14 +494,9 @@ void PluginProcessHost::OnResolveProxy(const GURL& url, void PluginProcessHost::OnResolveProxyCompleted(IPC::Message* reply_msg, int result, const std::string& proxy_list) { -#if defined(OS_WIN) PluginProcessHostMsg_ResolveProxy::WriteReplyParams( reply_msg, result, proxy_list); Send(reply_msg); -#else - // TODO(port): Port plugin_messages_internal.h. - NOTIMPLEMENTED(); -#endif } void PluginProcessHost::ReplyToRenderer( @@ -523,7 +517,6 @@ URLRequestContext* PluginProcessHost::GetRequestContext( void PluginProcessHost::RequestPluginChannel( ResourceMessageFilter* renderer_message_filter, const std::string& mime_type, IPC::Message* reply_msg) { -#if defined(OS_WIN) // We can't send any sync messages from the browser because it might lead to // a hang. However this async messages must be answered right away by the // plugin process (i.e. unblocks a Send() call like a sync message) otherwise @@ -539,10 +532,6 @@ void PluginProcessHost::RequestPluginChannel( ReplyToRenderer(renderer_message_filter, std::wstring(), FilePath(), reply_msg); } -#else - // TODO(port): Figure out what the plugin process is expecting in this case. - NOTIMPLEMENTED(); -#endif } void PluginProcessHost::OnChannelCreated(const std::wstring& channel_name) { -- cgit v1.1