[MacViews] Show comboboxes with a native NSMenu
[chromium-blink-merge.git] / chromecast / media / base / media_codec_support.h
blobf97df1b5e9778c14f8fdbcc6a412efcd09346f04
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
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_MEDIA_BASE_MEDIA_CODEC_SUPPORT_H_
6 #define CHROMECAST_MEDIA_BASE_MEDIA_CODEC_SUPPORT_H_
8 #include <string>
10 #include "base/callback.h"
11 #include "net/base/mime_util.h"
13 // TODO(gunsch/servolk): remove when this definition exists upstream.
14 namespace net {
15 typedef base::Callback<bool(const std::string&)> IsCodecSupportedCB;
18 namespace chromecast {
19 namespace media {
21 // Returns the callback to decide whether a given codec (passed in as a string
22 // representation of the codec id conforming to RFC 6381) is supported or not.
23 net::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB();
25 } // namespace media
26 } // namespace chromecast
28 #endif // CHROMECAST_MEDIA_BASE_MEDIA_CODEC_SUPPORT_H_