summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 15:05:53 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 15:05:53 +0000
commitf1c31f74e07d5586625c9d08093b5d05245dca85 (patch)
treed65fc2c68bbad317beaa42ae3e2be9f720075c78 /content/common
parentbb40d8b15a7c370363c68159d7060ca9a28e3121 (diff)
downloadchromium_src-f1c31f74e07d5586625c9d08093b5d05245dca85.zip
chromium_src-f1c31f74e07d5586625c9d08093b5d05245dca85.tar.gz
chromium_src-f1c31f74e07d5586625c9d08093b5d05245dca85.tar.bz2
Move Referrer into CommonParamTraits
While working on http://codereview.chromium.org/9875026/ , I ended up needing to put a content::Referrer into the prerender_messages. The problem was that it's already used in view_messages, and the compile would fail due to duplicate definitions. The CommonParamTraits approach here avoids this problem by explicitly including a serializer and deserializer. BUG=None Review URL: http://codereview.chromium.org/10134024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/view_messages.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index add9654..ecde49a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -63,7 +63,6 @@ IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType)
IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type)
IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type)
IPC_ENUM_TRAITS(WebKit::WebPopupType)
-IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy)
IPC_ENUM_TRAITS(WebKit::WebTextDirection)
IPC_ENUM_TRAITS(WebMenuItem::Type)
IPC_ENUM_TRAITS(WindowContainerType)
@@ -285,11 +284,6 @@ IPC_STRUCT_TRAITS_BEGIN(content::FrameNavigateParams)
IPC_STRUCT_TRAITS_MEMBER(socket_address)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(content::Referrer)
- IPC_STRUCT_TRAITS_MEMBER(url)
- IPC_STRUCT_TRAITS_MEMBER(policy)
-IPC_STRUCT_TRAITS_END()
-
IPC_STRUCT_TRAITS_BEGIN(content::RendererPreferences)
IPC_STRUCT_TRAITS_MEMBER(can_accept_load_drops)
IPC_STRUCT_TRAITS_MEMBER(should_antialias_text)