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

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: esprehn@ comments 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
7 #include "modules/mediastream/BlobEvent.h"
8
9 namespace blink {
10
11 // static
12 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create()
13 {
14 return adoptRefWillBeNoop(new BlobEvent);
15 }
16
17 // static
18 PassRefPtrWillBeRawPtr<BlobEvent> BlobEvent::create(const AtomicString& type, bo ol canBubble, bool cancelable, Blob* blob)
19 {
20 return adoptRefWillBeNoop(new BlobEvent(type, canBubble, cancelable, blob));
21 }
22
23 const AtomicString& BlobEvent::interfaceName() const
24 {
25 return EventNames::BlobEvent;
26 }
27
28 DEFINE_TRACE(BlobEvent)
29 {
30 visitor->trace(m_blob);
31 Event::trace(visitor);
32 }
33
34 BlobEvent::BlobEvent(const AtomicString& type, bool canBubble, bool cancelable, Blob* blob)
35 : Event(type, canBubble, cancelable)
36 , m_blob(blob) { }
Peter Beverloo 2015/08/28 17:18:24 micro nit: {} on their own lines.
mcasas 2015/08/29 01:12:57 Done.
37
38 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698