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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 * 7 *
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class RTCOfferOptions; 55 class RTCOfferOptions;
56 class RTCPeerConnectionErrorCallback; 56 class RTCPeerConnectionErrorCallback;
57 class RTCSessionDescription; 57 class RTCSessionDescription;
58 class RTCSessionDescriptionCallback; 58 class RTCSessionDescriptionCallback;
59 class RTCSessionDescriptionInit; 59 class RTCSessionDescriptionInit;
60 class RTCStatsCallback; 60 class RTCStatsCallback;
61 class ScriptState; 61 class ScriptState;
62 class VoidCallback; 62 class VoidCallback;
63 63
64 class RTCPeerConnection final 64 class RTCPeerConnection final
65 : public RefCountedGarbageCollectedEventTargetWithInlineData<RTCPeerConnecti on> 65 : public EventTargetWithInlineData
66 , public WebRTCPeerConnectionHandlerClient 66 , public WebRTCPeerConnectionHandlerClient
67 , public ActiveScriptWrappable 67 , public ActiveScriptWrappable
68 , public ActiveDOMObject { 68 , public ActiveDOMObject {
69 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(RTCPeerConnection); 69 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(RTCPeerConnection);
70 DEFINE_WRAPPERTYPEINFO(); 70 DEFINE_WRAPPERTYPEINFO();
71 USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection); 71 USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection);
72 USING_PRE_FINALIZER(RTCPeerConnection, dispose); 72 USING_PRE_FINALIZER(RTCPeerConnection, dispose);
73 public: 73 public:
74 // TODO(hbos): Create with expired RTCCertificate should fail, see crbug.com /565278. 74 // TODO(hbos): Create with expired RTCCertificate should fail, see crbug.com /565278.
75 static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, ExceptionState&); 75 static RTCPeerConnection* create(ExecutionContext*, const Dictionary&, const Dictionary&, ExceptionState&);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 Member<AsyncMethodRunner<RTCPeerConnection>> m_dispatchScheduledEventRunner; 211 Member<AsyncMethodRunner<RTCPeerConnection>> m_dispatchScheduledEventRunner;
212 HeapVector<Member<EventWrapper>> m_scheduledEvents; 212 HeapVector<Member<EventWrapper>> m_scheduledEvents;
213 213
214 bool m_stopped; 214 bool m_stopped;
215 bool m_closed; 215 bool m_closed;
216 }; 216 };
217 217
218 } // namespace blink 218 } // namespace blink
219 219
220 #endif // RTCPeerConnection_h 220 #endif // RTCPeerConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698