OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RECEIVER_SESSION_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ |
6 #define CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "chrome/renderer/media/cast_receiver_session_delegate.h" | 14 #include "chrome/renderer/media/cast_receiver_session_delegate.h" |
15 | 15 |
16 namespace blink { | |
17 class WebMediaStream; | |
18 } | |
19 | |
20 namespace media { | 16 namespace media { |
21 class AudioCapturerSource; | 17 class AudioCapturerSource; |
22 struct VideoCaptureFormat; | 18 struct VideoCaptureFormat; |
23 class VideoCapturerSource; | 19 class VideoCapturerSource; |
24 } | 20 } |
25 | 21 |
26 namespace net { | 22 namespace net { |
27 class IPEndPoint; | 23 class IPEndPoint; |
28 } | 24 } |
29 | 25 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 media::cast::FrameReceiverConfig audio_config_; | 68 media::cast::FrameReceiverConfig audio_config_; |
73 media::cast::FrameReceiverConfig video_config_; | 69 media::cast::FrameReceiverConfig video_config_; |
74 std::unique_ptr<CastReceiverSessionDelegate> delegate_; | 70 std::unique_ptr<CastReceiverSessionDelegate> delegate_; |
75 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 71 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
76 media::VideoCaptureFormat format_; | 72 media::VideoCaptureFormat format_; |
77 | 73 |
78 DISALLOW_COPY_AND_ASSIGN(CastReceiverSession); | 74 DISALLOW_COPY_AND_ASSIGN(CastReceiverSession); |
79 }; | 75 }; |
80 | 76 |
81 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ | 77 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ |
OLD | NEW |