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

Unified Diff: media/cast/cast_thread.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_thread.h
diff --git a/media/cast/cast_thread.h b/media/cast/cast_thread.h
index b004157042ed9a06a1e8fb9dd3417922de34a585..f4431d98a46140d8fc62ff3ca14bb1bf10686c5f 100644
--- a/media/cast/cast_thread.h
+++ b/media/cast/cast_thread.h
@@ -52,7 +52,12 @@ class CastThread : public base::RefCountedThreadSafe<CastThread> {
const base::Closure& task,
base::TimeDelta delay);
+ protected:
+ virtual ~CastThread();
+
private:
+ friend class base::RefCountedThreadSafe<CastThread>;
+
scoped_refptr<base::TaskRunner> GetMessageTaskRunnerForThread(
ThreadId identifier);

Powered by Google App Engine
This is Rietveld 408576698