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

Unified Diff: media/cast/cast_config.cc

Issue 25544003: Fix code style and gyp files in cast to build cast_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed gyp files Created 7 years, 3 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 | « media/cast/cast_config.h ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_config.cc
diff --git a/media/cast/cast_config.cc b/media/cast/cast_config.cc
index 97c707353a8487c7dc8dd8a5c41765da4298f924..5448fbdcc52e6e2230a00855df47da15ebc7584d 100644
--- a/media/cast/cast_config.cc
+++ b/media/cast/cast_config.cc
@@ -45,5 +45,9 @@ EncodedAudioFrame::~EncodedAudioFrame() {}
PcmAudioFrame::PcmAudioFrame() {}
PcmAudioFrame::~PcmAudioFrame() {}
+bool PacketSender::SendPacket(const std::vector<uint8>& packet) {
+ return SendPacket(&(packet[0]), static_cast<int>(packet.size()));
+}
+
} // namespace cast
} // namespace media
« no previous file with comments | « media/cast/cast_config.h ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698