summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 19:58:53 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-28 19:58:53 +0000
commit49fd5cd62a9773ce94fdd5e0e3d048d8c4fd0ff0 (patch)
treead4074e015be17edc5fddbbb589002f7330d4db0 /chrome/browser/plugin_process_host.cc
parent1c773ea173afc27ae415ce59ce16c24a65ffa359 (diff)
downloadchromium_src-49fd5cd62a9773ce94fdd5e0e3d048d8c4fd0ff0.zip
chromium_src-49fd5cd62a9773ce94fdd5e0e3d048d8c4fd0ff0.tar.gz
chromium_src-49fd5cd62a9773ce94fdd5e0e3d048d8c4fd0ff0.tar.bz2
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
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r--chrome/browser/plugin_process_host.cc11
1 files changed, 0 insertions, 11 deletions
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) {