| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |