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 CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
18 #include "base/time/default_tick_clock.h" | 18 #include "base/time/default_tick_clock.h" |
19 #include "media/cast/cast_config.h" | 19 #include "media/cast/cast_config.h" |
20 #include "media/cast/cast_sender.h" | 20 #include "media/cast/cast_sender.h" |
21 #include "media/cast/logging/logging_defines.h" | 21 #include "media/cast/logging/logging_defines.h" |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class BinaryValue; | 24 class BinaryValue; |
25 class DictionaryValue; | 25 class DictionaryValue; |
26 class SingleThreadTaskRunner; | 26 class SingleThreadTaskRunner; |
27 } // namespace base | 27 } // namespace base |
28 | 28 |
29 namespace media { | 29 namespace media { |
30 class VideoFrame; | |
31 | 30 |
32 namespace cast { | 31 namespace cast { |
33 class CastEnvironment; | 32 class CastEnvironment; |
34 class FrameInput; | |
35 class RawEventSubscriberBundle; | 33 class RawEventSubscriberBundle; |
36 | 34 |
37 namespace transport { | 35 namespace transport { |
38 class CastTransport; | 36 class CastTransport; |
39 } // namespace transport | 37 } // namespace transport |
40 } // namespace cast | 38 } // namespace cast |
41 } // namespace media | 39 } // namespace media |
42 | 40 |
43 // Breaks out functionality that is common between CastSessionDelegate and | 41 // Breaks out functionality that is common between CastSessionDelegate and |
44 // CastReceiverSessionDelegate. | 42 // CastReceiverSessionDelegate. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 VideoFrameInputAvailableCallback video_frame_input_available_callback_; | 148 VideoFrameInputAvailableCallback video_frame_input_available_callback_; |
151 | 149 |
152 std::unique_ptr<media::cast::RawEventSubscriberBundle> event_subscribers_; | 150 std::unique_ptr<media::cast::RawEventSubscriberBundle> event_subscribers_; |
153 | 151 |
154 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; | 152 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; |
155 | 153 |
156 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); | 154 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); |
157 }; | 155 }; |
158 | 156 |
159 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 157 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
OLD | NEW |