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

Side by Side Diff: media/cast/cast_environment.h

Issue 229503002: Cast: Make castv2 mirroring performance test run again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.cc ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_CAST_ENVIRONMENT_H_ 5 #ifndef MEDIA_CAST_CAST_ENVIRONMENT_H_
6 #define MEDIA_CAST_CAST_ENVIRONMENT_H_ 6 #define MEDIA_CAST_CAST_ENVIRONMENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return video_thread_proxy_ ? true : false; 72 return video_thread_proxy_ ? true : false;
73 } 73 }
74 74
75 protected: 75 protected:
76 virtual ~CastEnvironment(); 76 virtual ~CastEnvironment();
77 77
78 // Subclasses may override these. 78 // Subclasses may override these.
79 scoped_refptr<base::SingleThreadTaskRunner> main_thread_proxy_; 79 scoped_refptr<base::SingleThreadTaskRunner> main_thread_proxy_;
80 scoped_refptr<base::SingleThreadTaskRunner> audio_thread_proxy_; 80 scoped_refptr<base::SingleThreadTaskRunner> audio_thread_proxy_;
81 scoped_refptr<base::SingleThreadTaskRunner> video_thread_proxy_; 81 scoped_refptr<base::SingleThreadTaskRunner> video_thread_proxy_;
82 scoped_ptr<base::TickClock> clock_;
83 scoped_ptr<LoggingImpl> logging_;
82 84
83 private: 85 private:
84 friend class base::RefCountedThreadSafe<CastEnvironment>; 86 friend class base::RefCountedThreadSafe<CastEnvironment>;
85 87
86 scoped_ptr<base::TickClock> clock_;
87 scoped_ptr<LoggingImpl> logging_;
88
89 DISALLOW_COPY_AND_ASSIGN(CastEnvironment); 88 DISALLOW_COPY_AND_ASSIGN(CastEnvironment);
90 }; 89 };
91 90
92 } // namespace cast 91 } // namespace cast
93 } // namespace media 92 } // namespace media
94 93
95 #endif // MEDIA_CAST_CAST_ENVIRONMENT_H_ 94 #endif // MEDIA_CAST_CAST_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.cc ('k') | media/cast/cast_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698