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

Unified Diff: Source/platform/exported/WebMediaStreamTrackSourcesRequest.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
« no previous file with comments | « no previous file | Source/platform/exported/WebRTCSessionDescriptionRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
diff --git a/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp b/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
index 49797c6a1800a9c08df5e809947b690f1c5a005a..5966b6a47ed3cfa089072b4b0f6182c2ccc90b63 100644
--- a/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
+++ b/Source/platform/exported/WebMediaStreamTrackSourcesRequest.cpp
@@ -33,20 +33,6 @@
namespace blink {
-namespace {
-
-class ExtraDataContainer : public MediaStreamTrackSourcesRequest::ExtraData {
-public:
- ExtraDataContainer(PassOwnPtr<WebMediaStreamTrackSourcesRequest::ExtraData> extraData) : m_extraData(extraData) { }
-
- WebMediaStreamTrackSourcesRequest::ExtraData* extraData() { return m_extraData.get(); }
-
-private:
- OwnPtr<WebMediaStreamTrackSourcesRequest::ExtraData> m_extraData;
-};
-
-} // namespace
-
WebMediaStreamTrackSourcesRequest::WebMediaStreamTrackSourcesRequest(MediaStreamTrackSourcesRequest* request)
: m_private(request)
{
@@ -74,18 +60,4 @@ void WebMediaStreamTrackSourcesRequest::requestSucceeded(const WebVector<WebSour
m_private->requestSucceeded(sourceInfos);
}
-WebMediaStreamTrackSourcesRequest::ExtraData* WebMediaStreamTrackSourcesRequest::extraData() const
-{
- MediaStreamTrackSourcesRequest::ExtraData* data = m_private->extraData();
- if (!data)
- return 0;
- return static_cast<ExtraDataContainer*>(data)->extraData();
-}
-
-void WebMediaStreamTrackSourcesRequest::setExtraData(ExtraData* extraData)
-{
- m_private->setExtraData(adoptPtr(new ExtraDataContainer(adoptPtr(extraData))));
-}
-
} // namespace blink
-
« no previous file with comments | « no previous file | Source/platform/exported/WebRTCSessionDescriptionRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698