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

Unified Diff: Source/modules/encryptedmedia/MediaKeys.h

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.cpp ('k') | Source/modules/encryptedmedia/MediaKeys.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeys.h
diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h
index 46f7c90666e07ef340c0c408efa4335bc4c81808..2b13cc665bb0205efee0126fa28134e2292ebfbd 100644
--- a/Source/modules/encryptedmedia/MediaKeys.h
+++ b/Source/modules/encryptedmedia/MediaKeys.h
@@ -28,6 +28,7 @@
#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/EventTarget.h"
+#include "core/dom/ExceptionCode.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -40,7 +41,6 @@ namespace WebCore {
class ContentDecryptionModule;
class MediaKeySession;
class HTMLMediaElement;
-class ExceptionState;
// References are held by JS and HTMLMediaElement.
// The ContentDecryptionModule has the same lifetime as this object.
@@ -48,10 +48,10 @@ class ExceptionState;
// long as this object unless explicitly close()'d.
class MediaKeys : public RefCounted<MediaKeys>, public ScriptWrappable {
public:
- static PassRefPtr<MediaKeys> create(const String& keySystem, ExceptionState&);
+ static PassRefPtr<MediaKeys> create(const String& keySystem, ExceptionCode&);
~MediaKeys();
- PassRefPtr<MediaKeySession> createSession(ScriptExecutionContext*, const String& mimeType, Uint8Array* initData, ExceptionState&);
+ PassRefPtr<MediaKeySession> createSession(ScriptExecutionContext*, const String& mimeType, Uint8Array* initData, ExceptionCode&);
const String& keySystem() const { return m_keySystem; }
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.cpp ('k') | Source/modules/encryptedmedia/MediaKeys.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698