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_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_SESSION_H_ |
6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_SESSION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
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 "media/cast/cast_config.h" | 14 #include "media/cast/cast_config.h" |
15 #include "net/base/ip_endpoint.h" | 15 #include "net/base/ip_endpoint.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class BinaryValue; | |
19 class DictionaryValue; | 18 class DictionaryValue; |
20 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
| 20 class Value; |
| 21 using BinaryValue = Value; |
21 } // namespace base | 22 } // namespace base |
22 | 23 |
23 namespace media { | 24 namespace media { |
24 namespace cast { | 25 namespace cast { |
25 class AudioFrameInput; | 26 class AudioFrameInput; |
26 class VideoFrameInput; | 27 class VideoFrameInput; |
27 } // namespace cast | 28 } // namespace cast |
28 } // namespace media | 29 } // namespace media |
29 | 30 |
30 class CastSessionDelegate; | 31 class CastSessionDelegate; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // because it is owned by this object. | 103 // because it is owned by this object. |
103 std::unique_ptr<CastSessionDelegate> delegate_; | 104 std::unique_ptr<CastSessionDelegate> delegate_; |
104 | 105 |
105 // Proxy to the IO task runner. | 106 // Proxy to the IO task runner. |
106 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 107 const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(CastSession); | 109 DISALLOW_COPY_AND_ASSIGN(CastSession); |
109 }; | 110 }; |
110 | 111 |
111 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_H_ | 112 #endif // CHROME_RENDERER_MEDIA_CAST_SESSION_H_ |
OLD | NEW |