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

Unified Diff: content/renderer/media/video_capture_impl_manager.h

Issue 21421002: Revert EVS revisions 209760, 298753, 213143. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased at 216225, prepare to land Created 7 years, 4 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 | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl_manager.h
diff --git a/content/renderer/media/video_capture_impl_manager.h b/content/renderer/media/video_capture_impl_manager.h
index 9b26b2047016f0ed0d2324442c24b70d94a5651f..e9422015b026bda6d3d41abc4398fed0aee1a34a 100644
--- a/content/renderer/media/video_capture_impl_manager.h
+++ b/content/renderer/media/video_capture_impl_manager.h
@@ -13,17 +13,14 @@
#include <list>
#include <map>
-#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/threading/thread.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
#include "media/video/capture/video_capture.h"
-#include "media/video/encoded_video_source.h"
namespace content {
-class RtcEncodingVideoCapturerFactory;
class VideoCaptureImpl;
class VideoCaptureMessageFilter;
@@ -53,11 +50,6 @@ class CONTENT_EXPORT VideoCaptureImplManager
return filter_.get();
}
- void set_encoding_capturer_factory(base::WeakPtr<
- RtcEncodingVideoCapturerFactory> encoding_capturer_factory) {
- encoding_capturer_factory_ = encoding_capturer_factory;
- }
-
protected:
virtual ~VideoCaptureImplManager();
@@ -82,12 +74,6 @@ class CONTENT_EXPORT VideoCaptureImplManager
base::Thread thread_;
scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
- // The encoding capturer factory is created by MediaStreamDependencyFactory
- // and owned by its PeerConnectionFactory. It is passed to the manager
- // as a weak pointer at CreatePeerConnectionFactory time because the
- // PeerConnectionFactory may be released earlier than the manager.
- base::WeakPtr<RtcEncodingVideoCapturerFactory> encoding_capturer_factory_;
-
DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager);
};
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698