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/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
17 #include "base/time/default_tick_clock.h" | 17 #include "base/time/default_tick_clock.h" |
18 #include "media/cast/cast_config.h" | 18 #include "media/cast/cast_config.h" |
19 #include "media/cast/cast_sender.h" | 19 #include "media/cast/cast_sender.h" |
20 #include "media/cast/logging/logging_defines.h" | 20 #include "media/cast/logging/logging_defines.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 class BinaryValue; | |
24 class DictionaryValue; | 23 class DictionaryValue; |
25 class SingleThreadTaskRunner; | 24 class SingleThreadTaskRunner; |
| 25 class Value; |
| 26 using BinaryValue = Value; |
26 } // namespace base | 27 } // namespace base |
27 | 28 |
28 namespace media { | 29 namespace media { |
29 | 30 |
30 namespace cast { | 31 namespace cast { |
31 class CastEnvironment; | 32 class CastEnvironment; |
32 class RawEventSubscriberBundle; | 33 class RawEventSubscriberBundle; |
33 | 34 |
34 namespace transport { | 35 namespace transport { |
35 class CastTransport; | 36 class CastTransport; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 VideoFrameInputAvailableCallback video_frame_input_available_callback_; | 148 VideoFrameInputAvailableCallback video_frame_input_available_callback_; |
148 | 149 |
149 std::unique_ptr<media::cast::RawEventSubscriberBundle> event_subscribers_; | 150 std::unique_ptr<media::cast::RawEventSubscriberBundle> event_subscribers_; |
150 | 151 |
151 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; | 152 base::WeakPtrFactory<CastSessionDelegate> weak_factory_; |
152 | 153 |
153 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); | 154 DISALLOW_COPY_AND_ASSIGN(CastSessionDelegate); |
154 }; | 155 }; |
155 | 156 |
156 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ | 157 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_DELEGATE_H_ |
OLD | NEW |