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

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

Issue 26975004: Move ContentDecryptionModule* to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add WTF_MAKE_NONCOPYABLE because reasons Created 7 years, 1 month 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 92%
rename from Source/core/platform/graphics/ContentDecryptionModuleSession.h
rename to Source/platform/drm/ContentDecryptionModuleSession.h
index 30ead6fe8baefd3374c583e4f84459ec89709721..ce8a7e824266aa22f29e3dc2b9294289589d40b2 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,8 @@ 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 : private WebKit::WebContentDecryptionModuleSession::Client {
+ WTF_MAKE_NONCOPYABLE(ContentDecryptionModuleSession);
public:
static PassOwnPtr<ContentDecryptionModuleSession> create(ContentDecryptionModuleSessionClient*);
« no previous file with comments | « Source/platform/drm/ContentDecryptionModule.cpp ('k') | Source/platform/drm/ContentDecryptionModuleSession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698