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

Unified Diff: Source/platform/exported/WebRTCSessionDescriptionRequest.cpp

Issue 1233793002: Remove unused ExtraData support on exported mediastream objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: include file tidying Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/platform/exported/WebRTCSessionDescriptionRequest.cpp
diff --git a/Source/platform/exported/WebRTCSessionDescriptionRequest.cpp b/Source/platform/exported/WebRTCSessionDescriptionRequest.cpp
index 0f205320779efb04334ee37ab3d5865a7f82b838..e1b6686b360bb6862929fb6be142d10ea4e14217 100644
--- a/Source/platform/exported/WebRTCSessionDescriptionRequest.cpp
+++ b/Source/platform/exported/WebRTCSessionDescriptionRequest.cpp
@@ -38,20 +38,6 @@
namespace blink {
-namespace {
-
-class ExtraDataContainer : public RTCSessionDescriptionRequest::ExtraData {
-public:
- ExtraDataContainer(PassOwnPtr<WebRTCSessionDescriptionRequest::ExtraData> extraData) : m_extraData(extraData) { }
-
- WebRTCSessionDescriptionRequest::ExtraData* extraData() { return m_extraData.get(); }
-
-private:
- OwnPtr<WebRTCSessionDescriptionRequest::ExtraData> m_extraData;
-};
-
-} // namespace
-
WebRTCSessionDescriptionRequest::WebRTCSessionDescriptionRequest(RTCSessionDescriptionRequest* constraints)
: m_private(constraints)
{
@@ -79,18 +65,4 @@ void WebRTCSessionDescriptionRequest::requestFailed(const WebString& error) cons
m_private->requestFailed(error);
}
-WebRTCSessionDescriptionRequest::ExtraData* WebRTCSessionDescriptionRequest::extraData() const
-{
- RTCSessionDescriptionRequest::ExtraData* data = m_private->extraData();
- if (!data)
- return 0;
- return static_cast<ExtraDataContainer*>(data)->extraData();
-}
-
-void WebRTCSessionDescriptionRequest::setExtraData(ExtraData* extraData)
-{
- m_private->setExtraData(adoptPtr(new ExtraDataContainer(adoptPtr(extraData))));
-}
-
} // namespace blink
-
« no previous file with comments | « Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp ('k') | Source/platform/exported/WebRTCVoidRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698