| Index: cc/ipc/cc_param_traits.h
|
| diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h
|
| index d2e8b59978c9bf101ebb1989351179e46bacc749..23189b871a5ddc7929970fd1252d74df377b4b23 100644
|
| --- a/cc/ipc/cc_param_traits.h
|
| +++ b/cc/ipc/cc_param_traits.h
|
| @@ -16,6 +16,7 @@
|
| #include "cc/quads/texture_draw_quad.h"
|
| #include "gpu/ipc/common/gpu_command_buffer_traits.h"
|
| #include "ipc/ipc_message_macros.h"
|
| +#include "net/traffic_annotation/network_traffic_annotation.h"
|
|
|
| namespace cc {
|
| class FilterOperations;
|
| @@ -153,6 +154,29 @@ struct CC_IPC_EXPORT ParamTraits<cc::BeginFrameAck> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct CC_IPC_EXPORT ParamTraits<net::MutableNetworkTrafficAnnotationTag> {
|
| + typedef net::MutableNetworkTrafficAnnotationTag param_type;
|
| + static void GetSize(base::PickleSizer* s, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| +template <>
|
| +struct CC_IPC_EXPORT
|
| + ParamTraits<net::MutablePartialNetworkTrafficAnnotationTag> {
|
| + typedef net::MutablePartialNetworkTrafficAnnotationTag param_type;
|
| + static void GetSize(base::PickleSizer* s, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CC_IPC_CC_PARAM_TRAITS_H_
|
|
|