OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "config.h" |
| 6 #include "public/platform/WebEncryptedMediaKeyInformation.h" |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 WebEncryptedMediaKeyInformation::WebEncryptedMediaKeyInformation() |
| 11 { |
| 12 } |
| 13 |
| 14 WebEncryptedMediaKeyInformation::~WebEncryptedMediaKeyInformation() |
| 15 { |
| 16 } |
| 17 |
| 18 WebData WebEncryptedMediaKeyInformation::id() const |
| 19 { |
| 20 return m_id; |
| 21 } |
| 22 |
| 23 void WebEncryptedMediaKeyInformation::setId(const WebData& id) |
| 24 { |
| 25 m_id.assign(id); |
| 26 } |
| 27 |
| 28 WebEncryptedMediaKeyInformation::KeyStatus WebEncryptedMediaKeyInformation::stat
us() const |
| 29 { |
| 30 return m_status; |
| 31 } |
| 32 |
| 33 void WebEncryptedMediaKeyInformation::setStatus(KeyStatus status) |
| 34 { |
| 35 m_status = status; |
| 36 } |
| 37 |
| 38 uint32_t WebEncryptedMediaKeyInformation::systemCode() const |
| 39 { |
| 40 return m_systemCode; |
| 41 } |
| 42 |
| 43 void WebEncryptedMediaKeyInformation::setSystemCode(uint32_t systemCode) |
| 44 { |
| 45 m_systemCode = systemCode; |
| 46 } |
| 47 |
| 48 } // namespace blink |
OLD | NEW |