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

Unified Diff: media/cast/cast_config.h

Issue 24586003: Be able to build cast_unittest and related targets in Chrome tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix warnings 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
Index: media/cast/cast_config.h
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h
index 988924aab45f76d3d2175a19c822674f8634300a..f1829b19160e8f3cf47439f855a86d4fe43a3c99 100644
--- a/media/cast/cast_config.h
+++ b/media/cast/cast_config.h
@@ -187,7 +187,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 {

Powered by Google App Engine
This is Rietveld 408576698