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 "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "chrome/renderer/media/cast_receiver_session_delegate.h" | 12 #include "chrome/renderer/media/cast_receiver_session_delegate.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 class WebMediaStream; | 15 class WebMediaStream; |
15 } | 16 } |
16 | 17 |
17 namespace media { | 18 namespace media { |
18 class AudioCapturerSource; | 19 class AudioCapturerSource; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 media::cast::FrameReceiverConfig audio_config_; | 69 media::cast::FrameReceiverConfig audio_config_; |
69 media::cast::FrameReceiverConfig video_config_; | 70 media::cast::FrameReceiverConfig video_config_; |
70 scoped_ptr<CastReceiverSessionDelegate> delegate_; | 71 scoped_ptr<CastReceiverSessionDelegate> delegate_; |
71 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 72 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
72 media::VideoCaptureFormat format_; | 73 media::VideoCaptureFormat format_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(CastReceiverSession); | 75 DISALLOW_COPY_AND_ASSIGN(CastReceiverSession); |
75 }; | 76 }; |
76 | 77 |
77 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ | 78 #endif // CHROME_RENDERER_MEDIA_CAST_RECEIVER_SESSION_H_ |
OLD | NEW |