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

Side by Side Diff: Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: esprehn@ last comments Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6
7 #include "modules/mediarecorder/MediaRecorderErrorEvent.h"
8
9 namespace blink {
10
11 // static
12 PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create( )
13 {
14 return adoptRefWillBeNoop(new MediaRecorderErrorEvent);
15 }
16
17 // static
18 PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create( const AtomicString& type, bool canBubble, bool cancelable, const String& name, c onst String& message)
19 {
20 return adoptRefWillBeNoop(new MediaRecorderErrorEvent(type, canBubble, cance lable, name, message));
21 }
22
23 const AtomicString& MediaRecorderErrorEvent::interfaceName() const
24 {
25 return EventNames::MediaRecorderErrorEvent;
26 }
27
28 MediaRecorderErrorEvent::MediaRecorderErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message)
29 : Event(type, canBubble, cancelable)
30 , m_name(name)
31 , m_message(message)
32 {
33 }
34
35 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/mediarecorder/MediaRecorderErrorEvent.h ('k') | Source/modules/mediarecorder/MediaRecorderErrorEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698