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

Unified Diff: cc/ipc/cc_param_traits.h

Issue 2503203002: Revert "Getting rid of DelegatedFrameData" (Closed)
Patch Set: Created 4 years, 1 month 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 | « cc/BUILD.gn ('k') | 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 c32dc71aac9e506c992cded89a0ae22e8faf9912..f546b07f74e21ac6080efbf569e63e10d15f4f73 100644
--- a/cc/ipc/cc_param_traits.h
+++ b/cc/ipc/cc_param_traits.h
@@ -114,6 +114,16 @@ struct CC_IPC_EXPORT ParamTraits<cc::CompositorFrame> {
};
template <>
+struct CC_IPC_EXPORT ParamTraits<cc::DelegatedFrameData> {
+ typedef cc::DelegatedFrameData param_type;
+ 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::DrawQuad::Resources> {
typedef cc::DrawQuad::Resources param_type;
static void GetSize(base::PickleSizer* s, const param_type& p);
« no previous file with comments | « cc/BUILD.gn ('k') | cc/ipc/cc_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698