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

Unified Diff: Source/platform/exported/WebRTCVoidRequest.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/WebRTCVoidRequest.cpp
diff --git a/Source/platform/exported/WebRTCVoidRequest.cpp b/Source/platform/exported/WebRTCVoidRequest.cpp
index d086ad315362d5eceff9135338c586299296d7d8..09330107fbd5ff2276caf2462069e27eadd25567 100644
--- a/Source/platform/exported/WebRTCVoidRequest.cpp
+++ b/Source/platform/exported/WebRTCVoidRequest.cpp
@@ -37,20 +37,6 @@
namespace blink {
-namespace {
-
-class ExtraDataContainer : public RTCVoidRequest::ExtraData {
-public:
- ExtraDataContainer(PassOwnPtr<WebRTCVoidRequest::ExtraData> extraData) : m_extraData(extraData) { }
-
- WebRTCVoidRequest::ExtraData* extraData() { return m_extraData.get(); }
-
-private:
- OwnPtr<WebRTCVoidRequest::ExtraData> m_extraData;
-};
-
-} // namespace
-
WebRTCVoidRequest::WebRTCVoidRequest(RTCVoidRequest* constraints)
: m_private(constraints)
{
@@ -78,18 +64,4 @@ void WebRTCVoidRequest::requestFailed(const WebString& error) const
m_private->requestFailed(error);
}
-WebRTCVoidRequest::ExtraData* WebRTCVoidRequest::extraData() const
-{
- RTCVoidRequest::ExtraData* data = m_private->extraData();
- if (!data)
- return 0;
- return static_cast<ExtraDataContainer*>(data)->extraData();
-}
-
-void WebRTCVoidRequest::setExtraData(ExtraData* extraData)
-{
- m_private->setExtraData(adoptPtr(new ExtraDataContainer(adoptPtr(extraData))));
-}
-
} // namespace blink
-

Powered by Google App Engine
This is Rietveld 408576698