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

Unified Diff: Source/modules/mediasource/WebKitSourceBuffer.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/mediasource/WebKitMediaSource.cpp ('k') | Source/modules/mediasource/WebKitSourceBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/WebKitSourceBuffer.h
diff --git a/Source/modules/mediasource/WebKitSourceBuffer.h b/Source/modules/mediasource/WebKitSourceBuffer.h
index 747419ece8c591b4bdc48638587c0aeb55dbaf98..a2cf58855ab2d0bf262b39e9e8f7d82c69dc85c2 100644
--- a/Source/modules/mediasource/WebKitSourceBuffer.h
+++ b/Source/modules/mediasource/WebKitSourceBuffer.h
@@ -32,16 +32,15 @@
#define WebKitSourceBuffer_h
#include "bindings/v8/ScriptWrappable.h"
+#include "core/dom/ExceptionCode.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-
-class ExceptionState;
+class WebKitMediaSource;
class SourceBufferPrivate;
class TimeRanges;
-class WebKitMediaSource;
class WebKitSourceBuffer : public RefCounted<WebKitSourceBuffer>, public ScriptWrappable {
public:
@@ -50,11 +49,11 @@ public:
virtual ~WebKitSourceBuffer();
// WebKitSourceBuffer.idl methods
- PassRefPtr<TimeRanges> buffered(ExceptionState&) const;
+ PassRefPtr<TimeRanges> buffered(ExceptionCode&) const;
double timestampOffset() const;
- void setTimestampOffset(double, ExceptionState&);
- void append(PassRefPtr<Uint8Array> data, ExceptionState&);
- void abort(ExceptionState&);
+ void setTimestampOffset(double, ExceptionCode&);
+ void append(PassRefPtr<Uint8Array> data, ExceptionCode&);
+ void abort(ExceptionCode&);
void removedFromMediaSource();
« no previous file with comments | « Source/modules/mediasource/WebKitMediaSource.cpp ('k') | Source/modules/mediasource/WebKitSourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698