Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3474)

Unified Diff: cc/ipc/cc_param_traits.h

Issue 2686503004: Add IPC ParamTraits for c-style arrays (Closed)
Patch Set: nit Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits.h
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h
index f1e2bffcc4479a02c5ec1923020f3fb42b379511..225f6dcb76210d061120aad94e4b660ea61699d5 100644
--- a/cc/ipc/cc_param_traits.h
+++ b/cc/ipc/cc_param_traits.h
@@ -121,28 +121,6 @@ struct CC_IPC_EXPORT ParamTraits<cc::DrawQuad::Resources> {
};
template <>
-struct CC_IPC_EXPORT ParamTraits<cc::StreamVideoDrawQuad::OverlayResources> {
- typedef cc::StreamVideoDrawQuad::OverlayResources 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<cc::TextureDrawQuad::OverlayResources> {
- typedef cc::TextureDrawQuad::OverlayResources 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<cc::YUVVideoDrawQuad> {
typedef cc::YUVVideoDrawQuad param_type;
static void GetSize(base::PickleSizer* s, const param_type& p);
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698