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 // This is the main interface for the cast receiver. All configuration are done | 5 // This is the main interface for the cast receiver. All configuration are done |
6 // at creation. | 6 // at creation. |
7 | 7 |
8 #ifndef MEDIA_CAST_CAST_RECEIVER_H_ | 8 #ifndef MEDIA_CAST_CAST_RECEIVER_H_ |
9 #define MEDIA_CAST_CAST_RECEIVER_H_ | 9 #define MEDIA_CAST_CAST_RECEIVER_H_ |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/time/time.h" | 14 #include "base/time/time.h" |
16 #include "media/base/audio_bus.h" | 15 #include "media/base/audio_bus.h" |
17 #include "media/cast/cast_config.h" | 16 #include "media/cast/cast_config.h" |
18 #include "media/cast/cast_environment.h" | 17 #include "media/cast/cast_environment.h" |
19 #include "media/cast/net/cast_transport_sender.h" | 18 #include "media/cast/net/cast_transport_sender.h" |
20 | 19 |
21 namespace media { | 20 namespace media { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual void RequestEncodedVideoFrame( | 75 virtual void RequestEncodedVideoFrame( |
77 const ReceiveEncodedFrameCallback& callback) = 0; | 76 const ReceiveEncodedFrameCallback& callback) = 0; |
78 | 77 |
79 virtual ~CastReceiver() {} | 78 virtual ~CastReceiver() {} |
80 }; | 79 }; |
81 | 80 |
82 } // namespace cast | 81 } // namespace cast |
83 } // namespace media | 82 } // namespace media |
84 | 83 |
85 #endif // MEDIA_CAST_CAST_RECEIVER_H_ | 84 #endif // MEDIA_CAST_CAST_RECEIVER_H_ |
OLD | NEW |