diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 18:02:03 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 18:02:03 +0000 |
commit | 6edce23f84fe2b88e4dfe8e101b05e60a3646b80 (patch) | |
tree | 5a7ad67cc6f35469d5abab6090fcbd7424da91ba /chrome/common | |
parent | a31c66d79a124782bbaa16870bffbc83bdb639f8 (diff) | |
download | chromium_src-6edce23f84fe2b88e4dfe8e101b05e60a3646b80.zip chromium_src-6edce23f84fe2b88e4dfe8e101b05e60a3646b80.tar.gz chromium_src-6edce23f84fe2b88e4dfe8e101b05e60a3646b80.tar.bz2 |
FBTF: Reapplies r55259, the first new IPC definition patch.
This moves MessageWithTuple::Read() back into the main ipc_message_utils.h
header from the private ipc_messsage_utils_impl.h header. In release mode, this
was causing link failures.
BUG=51411
TEST=none
Review URL: http://codereview.chromium.org/3069034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/common_param_traits.h | 3 | ||||
-rw-r--r-- | chrome/common/devtools_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/gpu_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/nacl_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/nacl_messages_internal.h | 1 | ||||
-rw-r--r-- | chrome/common/plugin_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/render_messages.cc | 12 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 5 | ||||
-rw-r--r-- | chrome/common/service_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/utility_messages.cc | 9 | ||||
-rw-r--r-- | chrome/common/worker_messages.cc | 9 |
11 files changed, 81 insertions, 3 deletions
diff --git a/chrome/common/common_param_traits.h b/chrome/common/common_param_traits.h index 0ca6bed..f39c066 100644 --- a/chrome/common/common_param_traits.h +++ b/chrome/common/common_param_traits.h @@ -34,6 +34,7 @@ class DictionaryValue; class ListValue; struct ThumbnailScore; class URLRequestStatus; +class WebCursor; namespace gfx { class Point; @@ -210,7 +211,7 @@ struct ParamTraits<WebCursor> { static void Write(Message* m, const param_type& p) { p.Serialize(m); } - static bool Read(const Message* m, void** iter, param_type* r) { + static bool Read(const Message* m, void** iter, param_type* r) { return r->Deserialize(m, iter); } static void Log(const param_type& p, std::wstring* l) { diff --git a/chrome/common/devtools_messages.cc b/chrome/common/devtools_messages.cc new file mode 100644 index 0000000..8ea923e --- /dev/null +++ b/chrome/common/devtools_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/devtools_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/devtools_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/gpu_messages.cc b/chrome/common/gpu_messages.cc new file mode 100644 index 0000000..4ba5776 --- /dev/null +++ b/chrome/common/gpu_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/gpu_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/gpu_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/nacl_messages.cc b/chrome/common/nacl_messages.cc new file mode 100644 index 0000000..291ed5a --- /dev/null +++ b/chrome/common/nacl_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/nacl_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/nacl_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/nacl_messages_internal.h b/chrome/common/nacl_messages_internal.h index 8d95cc7..e302118 100644 --- a/chrome/common/nacl_messages_internal.h +++ b/chrome/common/nacl_messages_internal.h @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/process.h" #include "chrome/common/nacl_types.h" #include "ipc/ipc_message_macros.h" diff --git a/chrome/common/plugin_messages.cc b/chrome/common/plugin_messages.cc new file mode 100644 index 0000000..598de69 --- /dev/null +++ b/chrome/common/plugin_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/plugin_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/plugin_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/render_messages.cc b/chrome/common/render_messages.cc new file mode 100644 index 0000000..68aa81d --- /dev/null +++ b/chrome/common/render_messages.cc @@ -0,0 +1,12 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/render_messages.h" + +#include "chrome/common/thumbnail_score.h" +#include "webkit/glue/webcursor.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/render_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index a9efdc8..95389c4 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -24,7 +24,6 @@ #include "chrome/common/nacl_types.h" #include "chrome/common/notification_type.h" #include "chrome/common/page_zoom.h" -#include "chrome/common/thumbnail_score.h" #include "chrome/common/translate_errors.h" #include "chrome/common/window_container_type.h" #include "gfx/rect.h" @@ -34,7 +33,6 @@ #include "third_party/skia/include/core/SkBitmap.h" #include "webkit/glue/dom_operations.h" #include "webkit/glue/form_field.h" -#include "webkit/glue/webcursor.h" #if defined(OS_POSIX) #include "base/file_descriptor_posix.h" @@ -52,6 +50,9 @@ // Substitution map for l10n messages. typedef std::map<std::string, std::string> SubstitutionMap; +struct ThumbnailScore; +class WebCursor; + //----------------------------------------------------------------------------- // RenderView messages // These are messages sent from the browser to the renderer process. diff --git a/chrome/common/service_messages.cc b/chrome/common/service_messages.cc new file mode 100644 index 0000000..97a10fd --- /dev/null +++ b/chrome/common/service_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/service_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/service_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/utility_messages.cc b/chrome/common/utility_messages.cc new file mode 100644 index 0000000..4c8e567 --- /dev/null +++ b/chrome/common/utility_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/common/utility_messages.h" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/utility_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" diff --git a/chrome/common/worker_messages.cc b/chrome/common/worker_messages.cc new file mode 100644 index 0000000..437e030 --- /dev/null +++ b/chrome/common/worker_messages.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// 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" + +#define MESSAGES_INTERNAL_IMPL_FILE \ + "chrome/common/worker_messages_internal.h" +#include "ipc/ipc_message_impl_macros.h" |