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

Side by Side Diff: Source/modules/encryptedmedia/EncryptedMediaRequest.h

Issue 949093002: InlinedVisitor: Migrate encryptedmedia to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EncryptedMediaRequest_h 5 #ifndef EncryptedMediaRequest_h
6 #define EncryptedMediaRequest_h 6 #define EncryptedMediaRequest_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class SecurityOrigin; 12 class SecurityOrigin;
13 class WebContentDecryptionModuleAccess; 13 class WebContentDecryptionModuleAccess;
14 struct WebMediaKeySystemConfiguration; 14 struct WebMediaKeySystemConfiguration;
15 class WebString; 15 class WebString;
16 template <typename T> class WebVector; 16 template <typename T> class WebVector;
17 17
18 class EncryptedMediaRequest : public GarbageCollectedFinalized<EncryptedMediaReq uest> { 18 class EncryptedMediaRequest : public GarbageCollectedFinalized<EncryptedMediaReq uest> {
19 public: 19 public:
20 virtual ~EncryptedMediaRequest() { } 20 virtual ~EncryptedMediaRequest() { }
21 21
22 virtual WebString keySystem() const = 0; 22 virtual WebString keySystem() const = 0;
23 virtual const WebVector<WebMediaKeySystemConfiguration>& supportedConfigurat ions() const = 0; 23 virtual const WebVector<WebMediaKeySystemConfiguration>& supportedConfigurat ions() const = 0;
24 24
25 virtual SecurityOrigin* securityOrigin() const = 0; 25 virtual SecurityOrigin* securityOrigin() const = 0;
26 26
27 virtual void requestSucceeded(WebContentDecryptionModuleAccess*) = 0; 27 virtual void requestSucceeded(WebContentDecryptionModuleAccess*) = 0;
28 virtual void requestNotSupported(const WebString& errorMessage) = 0; 28 virtual void requestNotSupported(const WebString& errorMessage) = 0;
29 29
30 virtual void trace(Visitor*) { } 30 DEFINE_INLINE_VIRTUAL_TRACE() { }
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif // EncryptedMediaRequest_h 35 #endif // EncryptedMediaRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698