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

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

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "modules/mediastream/RTCIceCandidate.h" 29 #include "modules/mediastream/RTCIceCandidate.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create() 33 PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
34 { 34 {
35 return adoptRefWillBeNoop(new RTCIceCandidateEvent); 35 return adoptRefWillBeNoop(new RTCIceCandidateEvent);
36 } 36 }
37 37
38 PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool c anBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate) 38 PassRefPtrWillBeRawPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool c anBubble, bool cancelable, PassRefPtrWillBeRawPtr<RTCIceCandidate> candidate)
39 { 39 {
40 return adoptRefWillBeNoop(new RTCIceCandidateEvent(canBubble, cancelable, ca ndidate)); 40 return adoptRefWillBeNoop(new RTCIceCandidateEvent(canBubble, cancelable, ca ndidate));
41 } 41 }
42 42
43 RTCIceCandidateEvent::RTCIceCandidateEvent() 43 RTCIceCandidateEvent::RTCIceCandidateEvent()
44 { 44 {
45 ScriptWrappable::init(this); 45 ScriptWrappable::init(this);
46 } 46 }
47 47
48 RTCIceCandidateEvent::RTCIceCandidateEvent(bool canBubble, bool cancelable, Pass RefPtr<RTCIceCandidate> candidate) 48 RTCIceCandidateEvent::RTCIceCandidateEvent(bool canBubble, bool cancelable, Pass RefPtrWillBeRawPtr<RTCIceCandidate> candidate)
49 : Event(EventTypeNames::icecandidate, canBubble, cancelable) 49 : Event(EventTypeNames::icecandidate, canBubble, cancelable)
50 , m_candidate(candidate) 50 , m_candidate(candidate)
51 { 51 {
52 ScriptWrappable::init(this); 52 ScriptWrappable::init(this);
53 } 53 }
54 54
55 RTCIceCandidateEvent::~RTCIceCandidateEvent() 55 RTCIceCandidateEvent::~RTCIceCandidateEvent()
56 { 56 {
57 } 57 }
58 58
59 RTCIceCandidate* RTCIceCandidateEvent::candidate() const 59 RTCIceCandidate* RTCIceCandidateEvent::candidate() const
60 { 60 {
61 return m_candidate.get(); 61 return m_candidate.get();
62 } 62 }
63 63
64 const AtomicString& RTCIceCandidateEvent::interfaceName() const 64 const AtomicString& RTCIceCandidateEvent::interfaceName() const
65 { 65 {
66 return EventNames::RTCIceCandidateEvent; 66 return EventNames::RTCIceCandidateEvent;
67 } 67 }
68 68
69 void RTCIceCandidateEvent::trace(Visitor* visitor) 69 void RTCIceCandidateEvent::trace(Visitor* visitor)
70 { 70 {
71 visitor->trace(m_candidate);
71 Event::trace(visitor); 72 Event::trace(visitor);
72 } 73 }
73 74
74 } // namespace WebCore 75 } // namespace WebCore
75 76
OLDNEW
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.h ('k') | Source/modules/mediastream/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698