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

Unified Diff: chrome/common/cast_messages.cc

Issue 1977643002: Generate param traits size methods for IPC files in chrome/ (and traits it depends on). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 7 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 | « chrome/common/cast_messages.h ('k') | chrome/common/common_message_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/cast_messages.cc
diff --git a/chrome/common/cast_messages.cc b/chrome/common/cast_messages.cc
index d1629f808cd09c94a607edb603b0dcd95f6b5526..5b388624ea7ab816d2f0320ff59faa7254b793d6 100644
--- a/chrome/common/cast_messages.cc
+++ b/chrome/common/cast_messages.cc
@@ -6,6 +6,11 @@
namespace IPC {
+void ParamTraits<media::cast::RtpTimeTicks>::GetSize(base::PickleSizer* s,
+ const param_type& p) {
+ ParamTraits<uint64_t>::GetSize(s, p.SerializeForIPC());
dcheng 2016/05/13 03:23:10 Nit: does GetParamSize() work here?
+}
+
void ParamTraits<media::cast::RtpTimeTicks>::Write(base::Pickle* m,
const param_type& p) {
ParamTraits<uint64_t>::Write(m, p.SerializeForIPC());
@@ -29,6 +34,11 @@ void ParamTraits<media::cast::RtpTimeTicks>::Log(const param_type& p,
l->append(oss.str());
}
+void ParamTraits<media::cast::FrameId>::GetSize(base::PickleSizer* s,
+ const param_type& p) {
+ ParamTraits<uint64_t>::GetSize(s, p.SerializeForIPC());
+}
+
void ParamTraits<media::cast::FrameId>::Write(base::Pickle* m,
const param_type& p) {
ParamTraits<uint64_t>::Write(m, p.SerializeForIPC());
« no previous file with comments | « chrome/common/cast_messages.h ('k') | chrome/common/common_message_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698