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 #include "chromecast/media/base/media_codec_support.h" | 5 #include "chromecast/media/base/media_codec_support.h" |
6 | 6 |
| 7 #include "base/bind.h" |
| 8 |
7 namespace chromecast { | 9 namespace chromecast { |
8 namespace media { | 10 namespace media { |
9 | 11 |
10 // This is a default implementation of GetIsCodecSupportedOnChromecastCB that is | 12 // This is a default implementation of GetIsCodecSupportedOnChromecastCB that is |
11 // going to be used for brandings other than 'Chrome'. Most platforms will want | 13 // going to be used for brandings other than 'Chrome'. Most platforms will want |
12 // to use their own custom implementations of the IsCodecSupportedCB callback. | 14 // to use their own custom implementations of the IsCodecSupportedCB callback. |
13 net::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB() { | 15 net::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB() { |
14 return base::Bind(&net::DefaultIsCodecSupported); | 16 return base::Bind(&net::DefaultIsCodecSupported); |
15 } | 17 } |
16 | 18 |
17 } // namespace media | 19 } // namespace media |
18 } // namespace chromecast | 20 } // namespace chromecast |
19 | 21 |
OLD | NEW |