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

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

Issue 1163253003: Clean up macros around DEFINE_EVENT_TARGET_REFCOUNTING (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/modules/mediastream/MediaStream.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 38
39 class AudioSourceProvider; 39 class AudioSourceProvider;
40 class ExceptionState; 40 class ExceptionState;
41 class MediaStreamComponent; 41 class MediaStreamComponent;
42 class MediaStreamTrackSourcesCallback; 42 class MediaStreamTrackSourcesCallback;
43 43
44 class MODULES_EXPORT MediaStreamTrack final 44 class MODULES_EXPORT MediaStreamTrack final
45 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaStreamTrac k> 45 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaStreamTrac k>
46 , public ActiveDOMObject 46 , public ActiveDOMObject
47 , public MediaStreamSource::Observer { 47 , public MediaStreamSource::Observer {
48 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi llBeGarbageCollectedFinalized<MediaStreamTrack>); 48 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaStreamTrack);
49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); 49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack);
50 DEFINE_WRAPPERTYPEINFO(); 50 DEFINE_WRAPPERTYPEINFO();
51 public: 51 public:
52 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); 52 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*);
53 virtual ~MediaStreamTrack(); 53 virtual ~MediaStreamTrack();
54 54
55 String kind() const; 55 String kind() const;
56 String id() const; 56 String id() const;
57 String label() const; 57 String label() const;
58 bool remote() const; 58 bool remote() const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool m_isIteratingRegisteredMediaStreams; 105 bool m_isIteratingRegisteredMediaStreams;
106 bool m_stopped; 106 bool m_stopped;
107 RefPtr<MediaStreamComponent> m_component; 107 RefPtr<MediaStreamComponent> m_component;
108 }; 108 };
109 109
110 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; 110 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector;
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // MediaStreamTrack_h 114 #endif // MediaStreamTrack_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStream.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698