Index: Source/modules/mediastream/MediaRecorderErrorEvent.cpp |
diff --git a/Source/modules/mediastream/MediaRecorderErrorEvent.cpp b/Source/modules/mediastream/MediaRecorderErrorEvent.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5634e794d81d61fe1d8b45f2488c60ab6c6190be |
--- /dev/null |
+++ b/Source/modules/mediastream/MediaRecorderErrorEvent.cpp |
@@ -0,0 +1,45 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "config.h" |
+#include "modules/mediastream/MediaRecorderErrorEvent.h" |
+ |
+namespace blink { |
+ |
+PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create() |
+{ |
+ return adoptRefWillBeNoop(new MediaRecorderErrorEvent); |
+} |
+ |
+PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message) |
+{ |
+ return adoptRefWillBeNoop(new MediaRecorderErrorEvent(type, canBubble, cancelable, name, message)); |
+} |
+ |
+MediaRecorderErrorEvent::MediaRecorderErrorEvent() |
+{ |
+} |
+ |
+MediaRecorderErrorEvent::MediaRecorderErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message) |
+ : Event(type, canBubble, cancelable) |
+ , m_name(name) |
+ , m_message(message) |
+{ |
+} |
+ |
+MediaRecorderErrorEvent::~MediaRecorderErrorEvent() |
+{ |
+} |
+ |
+const AtomicString& MediaRecorderErrorEvent::interfaceName() const |
+{ |
+ return EventNames::MediaRecorderErrorEvent; |
+} |
+ |
+DEFINE_TRACE(MediaRecorderErrorEvent) |
+{ |
+ Event::trace(visitor); |
+} |
+ |
+} // namespace blink |