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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorderErrorEvent.h

Issue 1540303003: MediaRecorder: update to spec (3/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted DEPS to master Created 4 years, 12 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
Index: third_party/WebKit/Source/modules/mediarecorder/MediaRecorderErrorEvent.h
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderErrorEvent.h b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderErrorEvent.h
deleted file mode 100644
index 2a92e7b870eaab97e8ebe47708112b5d56bd797d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorderErrorEvent.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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.
-
-#ifndef MediaRecorderErrorEvent_h
-#define MediaRecorderErrorEvent_h
-
-#include "modules/EventModules.h"
-#include "modules/ModulesExport.h"
-#include "wtf/text/AtomicString.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-// TODO(mcasas): Remove completely MediaRecorderErrorEvent, see https://github.com/w3c/mediacapture-record/issues/14.
-class MODULES_EXPORT MediaRecorderErrorEvent final : public Event {
- DEFINE_WRAPPERTYPEINFO();
-public:
- virtual ~MediaRecorderErrorEvent() {}
-
- static PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> create();
- static PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message);
-
- const String& name() const { return m_name; }
- const String& message() const { return m_message; }
-
- // Event
- virtual const AtomicString& interfaceName() const override;
-
- DEFINE_INLINE_VIRTUAL_TRACE() { Event::trace(visitor); }
-
-private:
- MediaRecorderErrorEvent() {}
- MediaRecorderErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message);
-
- String m_name;
- String m_message;
-};
-
-} // namespace blink
-
-#endif // MediaRecorderErrorEvent_h

Powered by Google App Engine
This is Rietveld 408576698