summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_service.cc')
-rw-r--r--chrome/browser/plugin_service.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc
index a0f7044..7889f79 100644
--- a/chrome/browser/plugin_service.cc
+++ b/chrome/browser/plugin_service.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "build/build_config.h"
+
#include "chrome/browser/plugin_service.h"
#include "base/command_line.h"
@@ -9,7 +11,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_plugin_host.h"
#include "chrome/browser/chrome_thread.h"
-#include "chrome/browser/plugin_process_host.h"
#include "chrome/browser/renderer_host/render_process_host.h"
#include "chrome/browser/renderer_host/resource_message_filter.h"
#include "chrome/common/chrome_plugin_lib.h"
@@ -17,6 +18,13 @@
#include "chrome/common/logging_chrome.h"
#include "webkit/glue/plugins/plugin_list.h"
+#if defined(OS_WIN)
+// TODO(port): port this file and get rid of child_process_info.h include.
+#include "chrome/browser/plugin_process_host.h"
+#else
+#include "chrome/common/child_process_info.h"
+#endif
+
// static
PluginService* PluginService::GetInstance() {
return Singleton<PluginService>::get();