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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.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/crypto/SubtleCrypto.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeySession.h
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h
index 5555304bd77258066d5d904b0e303b71f90d8e54..c055c022cd37ce69b572fa81d436c5534fb7c80a 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/Source/modules/encryptedmedia/MediaKeySession.h
@@ -29,6 +29,7 @@
#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom/EventTarget.h"
+#include "core/dom/ExceptionCode.h"
#include "core/platform/Timer.h"
#include "core/platform/graphics/ContentDecryptionModuleSession.h"
#include "wtf/Deque.h"
@@ -39,12 +40,11 @@
namespace WebCore {
-class ContentDecryptionModule;
-class ContentDecryptionModuleSession;
-class ExceptionState;
class GenericEventQueue;
class MediaKeyError;
class MediaKeys;
+class ContentDecryptionModule;
+class ContentDecryptionModuleSession;
// References are held by JS and MediaKeys.
// Because this object controls the lifetime of the ContentDecryptionModuleSession,
@@ -64,7 +64,7 @@ public:
MediaKeyError* error() { return m_error.get(); }
void generateKeyRequest(const String& mimeType, Uint8Array* initData);
- void update(Uint8Array* key, ExceptionState&);
+ void update(Uint8Array* key, ExceptionCode&);
void close();
using RefCounted<MediaKeySession>::ref;
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698