summaryrefslogtreecommitdiffstats
path: root/chrome/common/worker_messages.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 23:34:16 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 23:34:16 +0000
commit21fa3a157739a857f1882072179f1bd3d978c368 (patch)
tree731cee107cd53590baf4f6f97e273d5378e03e7e /chrome/common/worker_messages.cc
parent6df403010254c73428c83e553654ce5dafa7dc00 (diff)
downloadchromium_src-21fa3a157739a857f1882072179f1bd3d978c368.zip
chromium_src-21fa3a157739a857f1882072179f1bd3d978c368.tar.gz
chromium_src-21fa3a157739a857f1882072179f1bd3d978c368.tar.bz2
ipc: Simplify the magic required to create IPC message headers.This gets rid of having to include the files in a magic place because of xcode dependency issues, and just makes it simpler to create new IPC message classes. It also gets rid of including the X_messages_internal.h file multiple times, which simplifies things and should make the build a little faster.
In a future change, I will remove the "internal.h" files since they're no longer needed. Review URL: http://codereview.chromium.org/5526008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/worker_messages.cc')
-rw-r--r--chrome/common/worker_messages.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/common/worker_messages.cc b/chrome/common/worker_messages.cc
index 192e4fd..19b8d23 100644
--- a/chrome/common/worker_messages.cc
+++ b/chrome/common/worker_messages.cc
@@ -2,13 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/worker_messages.h"
-
#include "chrome/common/common_param_traits.h"
-#define MESSAGES_INTERNAL_IMPL_FILE \
- "chrome/common/worker_messages_internal.h"
-#include "ipc/ipc_message_impl_macros.h"
+#define IPC_MESSAGE_IMPL
+#include "chrome/common/worker_messages.h"
WorkerHostMsg_PostConsoleMessageToWorkerObject_Params::
WorkerHostMsg_PostConsoleMessageToWorkerObject_Params()