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

Unified Diff: webrtc/api/test/fakevideotrackrenderer.h

Issue 2514883002: Create //webrtc/api:libjingle_peerconnection_api + refactorings. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « webrtc/api/test/fakertccertificategenerator.h ('k') | webrtc/api/test/fakevideotracksource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/test/fakevideotrackrenderer.h
diff --git a/webrtc/api/test/fakevideotrackrenderer.h b/webrtc/api/test/fakevideotrackrenderer.h
deleted file mode 100644
index 0d9b2488ab57e0ffd9c80edfddaefdba9a797e96..0000000000000000000000000000000000000000
--- a/webrtc/api/test/fakevideotrackrenderer.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2012 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_API_TEST_FAKEVIDEOTRACKRENDERER_H_
-#define WEBRTC_API_TEST_FAKEVIDEOTRACKRENDERER_H_
-
-#include "webrtc/api/mediastreaminterface.h"
-#include "webrtc/media/base/fakevideorenderer.h"
-
-namespace webrtc {
-
-class FakeVideoTrackRenderer : public cricket::FakeVideoRenderer {
- public:
- FakeVideoTrackRenderer(VideoTrackInterface* video_track)
- : video_track_(video_track) {
- video_track_->AddOrUpdateSink(this, rtc::VideoSinkWants());
- }
- ~FakeVideoTrackRenderer() { video_track_->RemoveSink(this); }
-
- private:
- rtc::scoped_refptr<VideoTrackInterface> video_track_;
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_API_TEST_FAKEVIDEOTRACKRENDERER_H_
« no previous file with comments | « webrtc/api/test/fakertccertificategenerator.h ('k') | webrtc/api/test/fakevideotracksource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698