summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/plugin_main.cc6
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc1
-rw-r--r--chrome/plugin/webplugin_proxy.cc4
3 files changed, 8 insertions, 3 deletions
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc
index 7b21066..1bbb624 100644
--- a/chrome/plugin/plugin_main.cc
+++ b/chrome/plugin/plugin_main.cc
@@ -2,6 +2,11 @@
// 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"
+
+#if defined(OS_WIN)
+#include "app/win_util.h"
+#endif
#include "base/command_line.h"
#include "base/message_loop.h"
#include "base/string_util.h"
@@ -15,7 +20,6 @@
#include "chrome/plugin/plugin_thread.h"
#if defined(OS_WIN)
-#include "chrome/common/win_util.h"
#include "chrome/test/injection_test_dll.h"
#include "sandbox/src/sandbox.h"
#endif
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index dcf7505..b76fc14 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -21,7 +21,6 @@
#if defined(OS_WIN)
#include "chrome/common/gfx/emf.h"
-#include "chrome/common/win_util.h"
#endif
class FinishDestructionTask : public Task {
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc
index f3b7e86..38f3af6 100644
--- a/chrome/plugin/webplugin_proxy.cc
+++ b/chrome/plugin/webplugin_proxy.cc
@@ -5,6 +5,9 @@
#include "chrome/plugin/webplugin_proxy.h"
#include "app/gfx/chrome_canvas.h"
+#if defined(OS_WIN)
+#include "app/win_util.h"
+#endif
#include "base/scoped_handle.h"
#include "base/shared_memory.h"
#include "base/singleton.h"
@@ -22,7 +25,6 @@
#if defined(OS_WIN)
#include "base/gfx/gdi_util.h"
-#include "chrome/common/win_util.h"
#endif
typedef std::map<CPBrowsingContext, WebPluginProxy*> ContextMap;