Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: Source/platform/exported/WebEncryptedMediaKeyInformation.cpp

Issue 858693002: Add MediaKeySession.keystatuseschange event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WebData Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698