diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 21:46:26 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-12 21:46:26 +0000 |
commit | d5a0483a840c360da82410abe928bb12362a2516 (patch) | |
tree | 022d67ee8770d57bd8f49d874cc186cc7ce5da73 /chrome/common/render_messages.cc | |
parent | d9663dde3a3311800177a12741fc46e978eeb474 (diff) | |
download | chromium_src-d5a0483a840c360da82410abe928bb12362a2516.zip chromium_src-d5a0483a840c360da82410abe928bb12362a2516.tar.gz chromium_src-d5a0483a840c360da82410abe928bb12362a2516.tar.bz2 |
Quick CL to get rid of render_messages_internal.h, since render_messages.h itself is
now multiply included. Update render_messages.cc to common code block.
Review URL: http://codereview.chromium.org/6682019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.cc')
-rw-r--r-- | chrome/common/render_messages.cc | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/chrome/common/render_messages.cc b/chrome/common/render_messages.cc index 3ec8c79..f6ec771 100644 --- a/chrome/common/render_messages.cc +++ b/chrome/common/render_messages.cc @@ -2,33 +2,36 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "base/values.h" -#include "chrome/common/edit_command.h" -#include "chrome/common/extensions/extension_extent.h" -#include "chrome/common/extensions/url_pattern.h" -#include "chrome/common/render_messages_params.h" -#include "chrome/common/thumbnail_score.h" -#include "chrome/common/web_apps.h" -#include "content/common/resource_response.h" -#include "ipc/ipc_channel_handle.h" -#include "media/audio/audio_buffers_state.h" -#include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderline.h" -#include "third_party/skia/include/core/SkBitmap.h" -#include "ui/gfx/rect.h" -#include "webkit/appcache/appcache_interfaces.h" -#include "webkit/blob/blob_data.h" -#include "webkit/glue/webaccessibility.h" -#include "webkit/glue/webcookie.h" -#include "webkit/glue/webcursor.h" -#include "webkit/glue/webmenuitem.h" -#include "webkit/plugins/npapi/webplugin.h" +// Get basic type definitions. +#define IPC_MESSAGE_IMPL +#include "chrome/common/render_messages.h" +#include "chrome/common/common_param_traits.h" -#if defined(OS_MACOSX) -#include "content/common/font_descriptor_mac.h" -#endif +// Generate constructors. +#include "ipc/struct_constructor_macros.h" +#include "chrome/common/render_messages.h" -#define IPC_MESSAGE_IMPL +// Generate destructors. +#include "ipc/struct_destructor_macros.h" +#include "chrome/common/render_messages.h" + +// Generate param traits write methods. +#include "ipc/param_traits_write_macros.h" +namespace IPC { #include "chrome/common/render_messages.h" +} // namespace IPC + +// Generate param traits read methods. +#include "ipc/param_traits_read_macros.h" +namespace IPC { +#include "chrome/common/render_messages.h" +} // namespace IPC + +// Generate param traits log methods. +#include "ipc/param_traits_log_macros.h" +namespace IPC { +#include "chrome/common/render_messages.h" +} // namespace IPC namespace IPC { |