| Index: content/public/common/common_param_traits.h
|
| ===================================================================
|
| --- content/public/common/common_param_traits.h (revision 143430)
|
| +++ content/public/common/common_param_traits.h (working copy)
|
| @@ -17,17 +17,13 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| -#include "content/public/common/console_message_level.h"
|
| -#include "content/public/common/page_transition_types.h"
|
| -#include "content/public/common/security_style.h"
|
| +#include "content/public/common/common_param_traits_macros.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ipc/ipc_message_utils.h"
|
| #include "net/base/ip_endpoint.h"
|
| #include "net/url_request/url_request_status.h"
|
| -#include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/surface/transport_dib.h"
|
| -#include "webkit/glue/resource_type.h"
|
|
|
| class SkBitmap;
|
|
|
| @@ -62,14 +58,6 @@
|
| };
|
|
|
| template <>
|
| -struct ParamTraits<ResourceType::Type> {
|
| - typedef ResourceType::Type param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, PickleIterator* iter, param_type* p);
|
| - static void Log(const param_type& p, std::string* l);
|
| -};
|
| -
|
| -template <>
|
| struct CONTENT_EXPORT ParamTraits<net::URLRequestStatus> {
|
| typedef net::URLRequestStatus param_type;
|
| static void Write(Message* m, const param_type& p);
|
| @@ -233,29 +221,6 @@
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| -template <>
|
| -struct SimilarTypeTraits<WebKit::WebReferrerPolicy> {
|
| - typedef int Type;
|
| -};
|
| -
|
| -template <>
|
| -struct SimilarTypeTraits<content::PageTransition> {
|
| - typedef int Type;
|
| -};
|
| -
|
| -template <>
|
| -struct SimilarTypeTraits<content::SecurityStyle> {
|
| - typedef int Type;
|
| -};
|
| -
|
| -template<>
|
| -struct CONTENT_EXPORT ParamTraits<content::ConsoleMessageLevel> {
|
| - typedef content::ConsoleMessageLevel param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, PickleIterator* iter, param_type* r);
|
| - static void Log(const param_type& p, std::string* l);
|
| -};
|
| -
|
| } // namespace IPC
|
|
|
| #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_H_
|
|
|