Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / EncryptedMediaRequest.h
bloba260abf8fb0da37eb47e6776493da05eba23c788
1 // Copyright 2014 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 #ifndef EncryptedMediaRequest_h
6 #define EncryptedMediaRequest_h
8 #include "platform/heap/Handle.h"
10 namespace blink {
12 class SecurityOrigin;
13 class WebContentDecryptionModuleAccess;
14 struct WebMediaKeySystemConfiguration;
15 class WebString;
16 template <typename T> class WebVector;
18 class EncryptedMediaRequest : public GarbageCollectedFinalized<EncryptedMediaRequest> {
19 public:
20 virtual ~EncryptedMediaRequest() { }
22 virtual WebString keySystem() const = 0;
23 virtual const WebVector<WebMediaKeySystemConfiguration>& supportedConfigurations() const = 0;
25 virtual SecurityOrigin* securityOrigin() const = 0;
27 virtual void requestSucceeded(WebContentDecryptionModuleAccess*) = 0;
28 virtual void requestNotSupported(const WebString& errorMessage) = 0;
30 DEFINE_INLINE_VIRTUAL_TRACE() { }
33 } // namespace blink
35 #endif // EncryptedMediaRequest_h