| Index: Source/platform/exported/WebEncryptedMediaKeyInformation.cpp
|
| diff --git a/Source/platform/exported/WebEncryptedMediaKeyInformation.cpp b/Source/platform/exported/WebEncryptedMediaKeyInformation.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..881b5a88c2d21916367826c9491d9ea81f13c249
|
| --- /dev/null
|
| +++ b/Source/platform/exported/WebEncryptedMediaKeyInformation.cpp
|
| @@ -0,0 +1,48 @@
|
| +// Copyright 2015 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.
|
| +
|
| +#include "config.h"
|
| +#include "public/platform/WebEncryptedMediaKeyInformation.h"
|
| +
|
| +namespace blink {
|
| +
|
| +WebEncryptedMediaKeyInformation::WebEncryptedMediaKeyInformation()
|
| +{
|
| +}
|
| +
|
| +WebEncryptedMediaKeyInformation::~WebEncryptedMediaKeyInformation()
|
| +{
|
| +}
|
| +
|
| +const WebVector<unsigned char>& WebEncryptedMediaKeyInformation::id() const
|
| +{
|
| + return m_id;
|
| +}
|
| +
|
| +void WebEncryptedMediaKeyInformation::setId(const unsigned char* id, size_t idLength)
|
| +{
|
| + m_id.assign(id, idLength);
|
| +}
|
| +
|
| +WebEncryptedMediaKeyInformation::KeyStatus WebEncryptedMediaKeyInformation::status() const
|
| +{
|
| + return m_status;
|
| +}
|
| +
|
| +void WebEncryptedMediaKeyInformation::setStatus(KeyStatus status)
|
| +{
|
| + m_status = status;
|
| +}
|
| +
|
| +uint32_t WebEncryptedMediaKeyInformation::systemCode() const
|
| +{
|
| + return m_systemCode;
|
| +}
|
| +
|
| +void WebEncryptedMediaKeyInformation::setSystemCode(uint32_t systemCode)
|
| +{
|
| + m_systemCode = systemCode;
|
| +}
|
| +
|
| +} // namespace blink
|
|
|