OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "media/cast/test/utility/default_config.h" | 5 #include "media/cast/test/utility/default_config.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "media/cast/cast_config.h" | 10 #include "media/cast/cast_config.h" |
9 #include "media/cast/constants.h" | 11 #include "media/cast/constants.h" |
10 #include "media/cast/net/cast_transport_config.h" | 12 #include "media/cast/net/cast_transport_config.h" |
11 | 13 |
12 namespace { | 14 namespace { |
13 | 15 |
14 void CreateVideoEncodeAccelerator( | 16 void CreateVideoEncodeAccelerator( |
15 const media::cast::ReceiveVideoEncodeAcceleratorCallback& callback) { | 17 const media::cast::ReceiveVideoEncodeAcceleratorCallback& callback) { |
16 // Do nothing. | 18 // Do nothing. |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 CreateDefaultVideoEncodeAcceleratorCallback() { | 94 CreateDefaultVideoEncodeAcceleratorCallback() { |
93 return base::Bind(&CreateVideoEncodeAccelerator); | 95 return base::Bind(&CreateVideoEncodeAccelerator); |
94 } | 96 } |
95 | 97 |
96 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback() { | 98 CreateVideoEncodeMemoryCallback CreateDefaultVideoEncodeMemoryCallback() { |
97 return base::Bind(&CreateVideoEncodeMemory); | 99 return base::Bind(&CreateVideoEncodeMemory); |
98 } | 100 } |
99 | 101 |
100 } // namespace cast | 102 } // namespace cast |
101 } // namespace media | 103 } // namespace media |
OLD | NEW |