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

Unified Diff: Source/platform/drm/ContentDecryptionModuleSession.h

Issue 26975004: Move ContentDecryptionModule* to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase, fix macro again Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: Source/platform/drm/ContentDecryptionModuleSession.h
diff --git a/Source/core/platform/graphics/ContentDecryptionModuleSession.h b/Source/platform/drm/ContentDecryptionModuleSession.h
similarity index 93%
rename from Source/core/platform/graphics/ContentDecryptionModuleSession.h
rename to Source/platform/drm/ContentDecryptionModuleSession.h
index 30ead6fe8baefd3374c583e4f84459ec89709721..1a7ffe7facd765a9c865085b047cd2082e2fed0e 100644
--- a/Source/core/platform/graphics/ContentDecryptionModuleSession.h
+++ b/Source/platform/drm/ContentDecryptionModuleSession.h
@@ -31,6 +31,7 @@
#ifndef ContentDecryptionModuleSession_h
#define ContentDecryptionModuleSession_h
+#include "platform/PlatformExport.h"
#include "public/platform/WebContentDecryptionModuleSession.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -48,7 +49,7 @@ namespace WebCore {
class KURL;
-class ContentDecryptionModuleSessionClient {
+class PLATFORM_EXPORT ContentDecryptionModuleSessionClient {
public:
enum MediaKeyErrorCode { UnknownError = 1, ClientError };
virtual void keyAdded() = 0;
@@ -56,7 +57,7 @@ public:
virtual void keyMessage(const unsigned char* message, size_t messageLength, const KURL& destinationURL) = 0;
};
-class ContentDecryptionModuleSession : private WebKit::WebContentDecryptionModuleSession::Client {
+class PLATFORM_EXPORT ContentDecryptionModuleSession : BLINK_NON_EXPORTED_BASE(private WebKit::WebContentDecryptionModuleSession::Client) {
public:
static PassOwnPtr<ContentDecryptionModuleSession> create(ContentDecryptionModuleSessionClient*);

Powered by Google App Engine
This is Rietveld 408576698