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

Unified Diff: chrome/common/render_messages.cc

Issue 6717001: Move audio messages to their own file. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/render_messages.h ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.cc
===================================================================
--- chrome/common/render_messages.cc (revision 78894)
+++ chrome/common/render_messages.cc (working copy)
@@ -714,29 +714,4 @@
l->append(")");
}
-void ParamTraits<AudioBuffersState>::Write(Message* m, const param_type& p) {
- WriteParam(m, p.pending_bytes);
- WriteParam(m, p.hardware_delay_bytes);
- WriteParam(m, p.timestamp);
-}
-
-bool ParamTraits<AudioBuffersState>::Read(const Message* m,
- void** iter,
- param_type* p) {
- return
- ReadParam(m, iter, &p->pending_bytes) &&
- ReadParam(m, iter, &p->hardware_delay_bytes) &&
- ReadParam(m, iter, &p->timestamp);
-}
-
-void ParamTraits<AudioBuffersState>::Log(const param_type& p, std::string* l) {
- l->append("(");
- LogParam(p.pending_bytes, l);
- l->append(", ");
- LogParam(p.hardware_delay_bytes, l);
- l->append(", ");
- LogParam(p.timestamp, l);
- l->append(")");
-}
-
} // namespace IPC
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698