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

Unified Diff: public/platform/Platform.h

Issue 16387015: Make unprefixed EME APIs use platform and Chromium. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index acff9862dc1663b4f3cc6a0b73606bc332a52457..5b02828cb4a1bcd9cc865d4f8fb7f08095f437dd 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -51,6 +51,7 @@ namespace WebKit {
class WebAudioBus;
class WebBlobRegistry;
+class WebCDM;
class WebClipboard;
class WebCompositorSupport;
class WebCookieJar;
@@ -143,6 +144,8 @@ public:
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
virtual WebAudioDevice* createAudioDevice(size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfChannels, double sampleRate, WebAudioDevice::RenderCallback*) { return 0; }
+ // May return null.
+ virtual WebCDM* createCDM(const WebString& keySystem) { return 0; }
// Blob ----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698