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

Side by Side Diff: Source/modules/mediastream/BlobEvent.cpp

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 #include "modules/mediastream/BlobEvent.h"
7
8 #include "core/fileapi/Blob.h"
9
10 namespace blink {
11
12 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create()
13 {
14 return adoptRefWillBeNoop(new BlobEvent);
15 }
16
17 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create(const AtomicString& type, bo ol canBubble, bool cancelable, Blob* blob)
18 {
19 return adoptRefWillBeNoop(new BlobEvent(type, canBubble, cancelable, blob));
20 }
21
22 BlobEvent::BlobEvent()
23 {
24 }
25
26 BlobEvent::BlobEvent(const AtomicString& type, bool canBubble, bool cancelable, Blob* blob)
27 : Event(type, canBubble, cancelable)
28 , m_blob(blob)
29 {
30 }
31
32 BlobEvent::~BlobEvent()
33 {
34 }
35
36 const AtomicString& BlobEvent::interfaceName() const
37 {
38 return EventNames::BlobEvent;
39 }
40
41 DEFINE_TRACE(BlobEvent)
42 {
43 visitor->trace(m_blob);
44 Event::trace(visitor);
45 }
46
47 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698