summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_host.h
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 05:35:21 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 05:35:21 +0000
commit6328ccf96a5c69d309f36de7e67402723b6379bd (patch)
treedccc9824cd7dc22c7676f3effb5b1f8d44cca6da /chrome/common/child_process_host.h
parent91443fc66f7f5393cbd8c5abb2ed160c4e9ea7d0 (diff)
downloadchromium_src-6328ccf96a5c69d309f36de7e67402723b6379bd.zip
chromium_src-6328ccf96a5c69d309f36de7e67402723b6379bd.tar.gz
chromium_src-6328ccf96a5c69d309f36de7e67402723b6379bd.tar.bz2
Fixed compile error.
TBR=jam@chromium.org Review URL: http://codereview.chromium.org/2962014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_host.h')
-rw-r--r--chrome/common/child_process_host.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/common/child_process_host.h b/chrome/common/child_process_host.h
index c54679b..865a1ac 100644
--- a/chrome/common/child_process_host.h
+++ b/chrome/common/child_process_host.h
@@ -5,22 +5,24 @@
#ifndef CHROME_COMMON_CHILD_PROCESS_HOST_H_
#define CHROME_COMMON_CHILD_PROCESS_HOST_H_
-#if defined(OS_WIN)
-#include <windows.h>
-#endif // defined(OS_WIN)
-
#include <list>
#include <string>
// Must be included early (e.g. before chrome/common/plugin_messages.h)
#include "ipc/ipc_logging.h"
+// Putting this before ipc_logging.h does not work (OS_WIN isn't defined)
+#if defined(OS_WIN)
+#include <windows.h>
+#endif // defined(OS_WIN)
+
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/scoped_ptr.h"
#include "chrome/common/notification_type.h"
#include "ipc/ipc_channel.h"
+
class CommandLine;
// Provides common functionality for hosting a child process and processing IPC