summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 22:56:28 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 22:56:28 +0000
commit510344fcf84aa8562a9028451a9cd5f0f77085cd (patch)
tree7eb92236a9e96cf0961135080c1b9c7003f13496 /ipc
parent7884ecadfb4d684a4858f0074d6b5a0b830a122e (diff)
downloadchromium_src-510344fcf84aa8562a9028451a9cd5f0f77085cd.zip
chromium_src-510344fcf84aa8562a9028451a9cd5f0f77085cd.tar.gz
chromium_src-510344fcf84aa8562a9028451a9cd5f0f77085cd.tar.bz2
Get rid of ipc_sender.h include in ipc_message.h.
Review URL: https://codereview.chromium.org/11574040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_logging.cc1
-rw-r--r--ipc/ipc_logging.h1
-rw-r--r--ipc/ipc_message.h6
3 files changed, 2 insertions, 6 deletions
diff --git a/ipc/ipc_logging.cc b/ipc/ipc_logging.cc
index 9dde5a5..21f14c1 100644
--- a/ipc/ipc_logging.cc
+++ b/ipc/ipc_logging.cc
@@ -22,6 +22,7 @@
#include "ipc/ipc_switches.h"
#include "ipc/ipc_sync_message.h"
#include "ipc/ipc_message_utils.h"
+#include "ipc/ipc_sender.h"
#if defined(OS_POSIX)
#include <unistd.h>
diff --git a/ipc/ipc_logging.h b/ipc/ipc_logging.h
index 720f5e3..482c06d 100644
--- a/ipc/ipc_logging.h
+++ b/ipc/ipc_logging.h
@@ -28,6 +28,7 @@ typedef base::hash_map<uint32, LogFunction > LogFunctionMap;
namespace IPC {
class Message;
+class Sender;
// One instance per process. Needs to be created on the main thread (the UI
// thread in the browser) but OnPreDispatchMessage/OnPostDispatchMessage
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index e79216d..4209016 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -12,10 +12,6 @@
#include "base/pickle.h"
#include "ipc/ipc_export.h"
-// TODO(brettw) remove this and update files that depend on this being included
-// from here.
-#include "ipc/ipc_sender.h"
-
#if !defined(NDEBUG)
#define IPC_MESSAGE_LOG_ENABLED
#endif
@@ -34,8 +30,6 @@ namespace IPC {
//------------------------------------------------------------------------------
-class Channel;
-class Message;
struct LogData;
class IPC_EXPORT Message : public Pickle {