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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 struct WebRTCConfiguration; 63 struct WebRTCConfiguration;
64 64
65 class RTCPeerConnection final : public EventTargetWithInlineData, 65 class RTCPeerConnection final : public EventTargetWithInlineData,
66 public WebRTCPeerConnectionHandlerClient, 66 public WebRTCPeerConnectionHandlerClient,
67 public ActiveScriptWrappable, 67 public ActiveScriptWrappable<RTCPeerConnection>,
68 public SuspendableObject { 68 public SuspendableObject {
69 DEFINE_WRAPPERTYPEINFO(); 69 DEFINE_WRAPPERTYPEINFO();
70 USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection); 70 USING_GARBAGE_COLLECTED_MIXIN(RTCPeerConnection);
71 USING_PRE_FINALIZER(RTCPeerConnection, dispose); 71 USING_PRE_FINALIZER(RTCPeerConnection, dispose);
72 72
73 public: 73 public:
74 static RTCPeerConnection* create(ExecutionContext*, 74 static RTCPeerConnection* create(ExecutionContext*,
75 const RTCConfiguration&, 75 const RTCConfiguration&,
76 const Dictionary&, 76 const Dictionary&,
77 ExceptionState&); 77 ExceptionState&);
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 bool m_stopped; 256 bool m_stopped;
257 bool m_closed; 257 bool m_closed;
258 258
259 bool m_hasDataChannels; // For RAPPOR metrics 259 bool m_hasDataChannels; // For RAPPOR metrics
260 }; 260 };
261 261
262 } // namespace blink 262 } // namespace blink
263 263
264 #endif // RTCPeerConnection_h 264 #endif // RTCPeerConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698