blob: ffd91a59149aec1340464d9185ba63105a99e10d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
#define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
#ifdef USE_PPAPI_CDM_ADAPTER
// When building the adapter these functions need to be local.
#define FUNCTION_EXPORT
#else
#include "media/base/media_export.h"
#define FUNCTION_EXPORT MEDIA_EXPORT
#endif
namespace media {
FUNCTION_EXPORT bool IsSupportedCdmModuleVersion(int version);
FUNCTION_EXPORT bool IsSupportedCdmInterfaceVersion(int version);
FUNCTION_EXPORT bool IsSupportedCdmHostVersion(int version);
} // namespace media
#undef FUNCTION_EXPORT
#endif // MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
|