Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / exported / WebEncryptedMediaKeyInformation.cpp
blob77e19fc9901603e04ee79074a876f82320fd1c5b
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 #include "config.h"
6 #include "public/platform/WebEncryptedMediaKeyInformation.h"
8 namespace blink {
10 WebEncryptedMediaKeyInformation::WebEncryptedMediaKeyInformation()
14 WebEncryptedMediaKeyInformation::~WebEncryptedMediaKeyInformation()
18 WebData WebEncryptedMediaKeyInformation::id() const
20 return m_id;
23 void WebEncryptedMediaKeyInformation::setId(const WebData& id)
25 m_id.assign(id);
28 WebEncryptedMediaKeyInformation::KeyStatus WebEncryptedMediaKeyInformation::status() const
30 return m_status;
33 void WebEncryptedMediaKeyInformation::setStatus(KeyStatus status)
35 m_status = status;
38 uint32_t WebEncryptedMediaKeyInformation::systemCode() const
40 return m_systemCode;
43 void WebEncryptedMediaKeyInformation::setSystemCode(uint32_t systemCode)
45 m_systemCode = systemCode;
48 } // namespace blink