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

Side by Side Diff: Source/modules/mediastream/MediaStream.h

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Ericsson AB. All rights reserved. 3 * Copyright (C) 2011 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 MediaStream(ExecutionContext*, PassRefPtr<MediaStreamDescriptor>); 88 MediaStream(ExecutionContext*, PassRefPtr<MediaStreamDescriptor>);
89 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks); 89 MediaStream(ExecutionContext*, const MediaStreamTrackVector& audioTracks, co nst MediaStreamTrackVector& videoTracks);
90 90
91 // ContextLifecycleObserver 91 // ContextLifecycleObserver
92 virtual void contextDestroyed() OVERRIDE; 92 virtual void contextDestroyed() OVERRIDE;
93 93
94 // MediaStreamDescriptorClient 94 // MediaStreamDescriptorClient
95 virtual void addRemoteTrack(MediaStreamComponent*) OVERRIDE; 95 virtual void addRemoteTrack(MediaStreamComponent*) OVERRIDE;
96 virtual void removeRemoteTrack(MediaStreamComponent*) OVERRIDE; 96 virtual void removeRemoteTrack(MediaStreamComponent*) OVERRIDE;
97 97
98 void scheduleDispatchEvent(PassRefPtr<Event>); 98 void scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event>);
99 void scheduledEventTimerFired(Timer<MediaStream>*); 99 void scheduledEventTimerFired(Timer<MediaStream>*);
100 100
101 bool m_stopped; 101 bool m_stopped;
102 102
103 MediaStreamTrackVector m_audioTracks; 103 MediaStreamTrackVector m_audioTracks;
104 MediaStreamTrackVector m_videoTracks; 104 MediaStreamTrackVector m_videoTracks;
105 RefPtr<MediaStreamDescriptor> m_descriptor; 105 RefPtr<MediaStreamDescriptor> m_descriptor;
106 106
107 Timer<MediaStream> m_scheduledEventTimer; 107 Timer<MediaStream> m_scheduledEventTimer;
108 Vector<RefPtr<Event> > m_scheduledEvents; 108 WillBePersistentHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents;
109 }; 109 };
110 110
111 typedef Vector<RefPtr<MediaStream> > MediaStreamVector; 111 typedef Vector<RefPtr<MediaStream> > MediaStreamVector;
112 112
113 } // namespace WebCore 113 } // namespace WebCore
114 114
115 #endif // MediaStream_h 115 #endif // MediaStream_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698