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

Unified Diff: cc/ipc/cc_param_traits.h

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests Created 4 years, 2 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
Index: cc/ipc/cc_param_traits.h
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h
index 67ab1453a18f31f252f867039e858321aa4f1b51..f546b07f74e21ac6080efbf569e63e10d15f4f73 100644
--- a/cc/ipc/cc_param_traits.h
+++ b/cc/ipc/cc_param_traits.h
@@ -82,6 +82,17 @@ struct CC_IPC_EXPORT ParamTraits<cc::FrameSinkId> {
};
template <>
+struct CC_IPC_EXPORT ParamTraits<cc::LocalFrameId> {
+ typedef cc::LocalFrameId 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* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
+template <>
struct CC_IPC_EXPORT ParamTraits<cc::SurfaceId> {
typedef cc::SurfaceId param_type;
static void GetSize(base::PickleSizer* s, const param_type& p);
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/cc_param_traits.cc » ('j') | cc/surfaces/surface_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698