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

Unified Diff: Source/modules/mediastream/RTCDTMFSender.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/mediastream/NavigatorMediaStream.cpp ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/RTCDTMFSender.h
diff --git a/Source/modules/mediastream/RTCDTMFSender.h b/Source/modules/mediastream/RTCDTMFSender.h
index cb8cc329ac73042fd64ab50f48db13a2ced0a887..8f3819789a6e223760269348f784e9d6d20e0cc3 100644
--- a/Source/modules/mediastream/RTCDTMFSender.h
+++ b/Source/modules/mediastream/RTCDTMFSender.h
@@ -35,14 +35,13 @@
namespace WebCore {
-class ExceptionState;
class MediaStreamTrack;
-class RTCDTMFSenderHandler;
class RTCPeerConnectionHandler;
+class RTCDTMFSenderHandler;
class RTCDTMFSender : public RefCounted<RTCDTMFSender>, public ScriptWrappable, public EventTarget, public RTCDTMFSenderHandlerClient, public ActiveDOMObject {
public:
- static PassRefPtr<RTCDTMFSender> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, PassRefPtr<MediaStreamTrack>, ExceptionState&);
+ static PassRefPtr<RTCDTMFSender> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, PassRefPtr<MediaStreamTrack>, ExceptionCode&);
~RTCDTMFSender();
bool canInsertDTMF() const;
@@ -51,9 +50,9 @@ public:
long duration() const { return m_duration; }
long interToneGap() const { return m_interToneGap; }
- void insertDTMF(const String& tones, ExceptionState&);
- void insertDTMF(const String& tones, long duration, ExceptionState&);
- void insertDTMF(const String& tones, long duration, long interToneGap, ExceptionState&);
+ void insertDTMF(const String& tones, ExceptionCode&);
+ void insertDTMF(const String& tones, long duration, ExceptionCode&);
+ void insertDTMF(const String& tones, long duration, long interToneGap, ExceptionCode&);
DEFINE_ATTRIBUTE_EVENT_LISTENER(tonechange);
« no previous file with comments | « Source/modules/mediastream/NavigatorMediaStream.cpp ('k') | Source/modules/mediastream/RTCDTMFSender.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698