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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ExecutionContext*, 53 ExecutionContext*,
54 RTCPeerConnection*, 54 RTCPeerConnection*,
55 RTCSessionDescriptionCallback*, 55 RTCSessionDescriptionCallback*,
56 RTCPeerConnectionErrorCallback*); 56 RTCPeerConnectionErrorCallback*);
57 ~RTCSessionDescriptionRequestImpl() override; 57 ~RTCSessionDescriptionRequestImpl() override;
58 58
59 void requestSucceeded(const WebRTCSessionDescription&) override; 59 void requestSucceeded(const WebRTCSessionDescription&) override;
60 void requestFailed(const String& error) override; 60 void requestFailed(const String& error) override;
61 61
62 // ActiveDOMObject 62 // ActiveDOMObject
63 void stop() override; 63 void contextDestroyed() override;
64 64
65 DECLARE_VIRTUAL_TRACE(); 65 DECLARE_VIRTUAL_TRACE();
66 66
67 private: 67 private:
68 RTCSessionDescriptionRequestImpl(ExecutionContext*, 68 RTCSessionDescriptionRequestImpl(ExecutionContext*,
69 RTCPeerConnection*, 69 RTCPeerConnection*,
70 RTCSessionDescriptionCallback*, 70 RTCSessionDescriptionCallback*,
71 RTCPeerConnectionErrorCallback*); 71 RTCPeerConnectionErrorCallback*);
72 72
73 void clear(); 73 void clear();
74 74
75 Member<RTCSessionDescriptionCallback> m_successCallback; 75 Member<RTCSessionDescriptionCallback> m_successCallback;
76 Member<RTCPeerConnectionErrorCallback> m_errorCallback; 76 Member<RTCPeerConnectionErrorCallback> m_errorCallback;
77 Member<RTCPeerConnection> m_requester; 77 Member<RTCPeerConnection> m_requester;
78 }; 78 };
79 79
80 } // namespace blink 80 } // namespace blink
81 81
82 #endif // RTCSessionDescriptionRequestImpl_h 82 #endif // RTCSessionDescriptionRequestImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698