Index: chrome/browser/chrome_plugin_message_filter.cc |
=================================================================== |
--- chrome/browser/chrome_plugin_message_filter.cc (revision 110386) |
+++ chrome/browser/chrome_plugin_message_filter.cc (working copy) |
@@ -7,7 +7,6 @@ |
#include "base/bind.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/infobars/infobar_tab_helper.h" |
-#include "chrome/browser/plugin_download_helper.h" |
#include "chrome/browser/plugin_installer_infobar_delegate.h" |
#include "chrome/browser/plugin_observer.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -21,6 +20,10 @@ |
#include "net/url_request/url_request_context_getter.h" |
#include "webkit/plugins/npapi/default_plugin_shared.h" |
+#if defined(OS_WIN) |
+#include "chrome/browser/plugin_download_helper.h" |
+#endif |
+ |
using content::BrowserThread; |
static const char kDefaultPluginFinderURL[] = |
@@ -36,7 +39,7 @@ |
bool ChromePluginMessageFilter::OnMessageReceived(const IPC::Message& message) { |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(ChromePluginMessageFilter, message) |
-#if defined(OS_WIN) && !defined(USE_AURA) |
+#if defined(OS_WIN) |
IPC_MESSAGE_HANDLER(ChromePluginProcessHostMsg_DownloadUrl, OnDownloadUrl) |
#endif |
IPC_MESSAGE_HANDLER(ChromePluginProcessHostMsg_GetPluginFinderUrl, |
@@ -53,7 +56,7 @@ |
return process_->Send(message); |
} |
-#if defined(OS_WIN) && !defined(USE_AURA) |
+#if defined(OS_WIN) |
void ChromePluginMessageFilter::OnDownloadUrl(const std::string& url, |
gfx::NativeWindow caller_window, |
int render_process_id) { |