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

Unified Diff: media/cast/cast_config.h

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.gyp ('k') | media/cast/cast_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_config.h
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 988924aab45f76d3d2175a19c822674f8634300a..276429a73f17d8f092dfa090d3a393ec78d9bcb9 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -176,6 +176,7 @@ class PacketSender {
public:
// All packets to be sent to the network will be delivered via this function.
virtual bool SendPacket(const uint8* packet, int length) = 0;
+ virtual bool SendPacket(const std::vector<uint8>& packet);
virtual ~PacketSender() {}
};
@@ -187,7 +188,11 @@ class PacketReceiver : public base::RefCountedThreadSafe<PacketReceiver> {
virtual void ReceivedPacket(const uint8* packet, int length,
const base::Closure callback) = 0;
+ protected:
virtual ~PacketReceiver() {}
+
+ private:
+ friend class base::RefCountedThreadSafe<PacketReceiver>;
};
class VideoEncoderController {
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/cast_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698