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

Unified Diff: content/renderer/media/android/stream_texture_factory.h

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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: content/renderer/media/android/stream_texture_factory.h
diff --git a/content/renderer/media/android/stream_texture_factory.h b/content/renderer/media/android/stream_texture_factory.h
index d9c7323759cb9d90af8e664b2581aedc0ec8b453..4806c6a5bb8da08de59c9ec727bc923adda32570 100644
--- a/content/renderer/media/android/stream_texture_factory.h
+++ b/content/renderer/media/android/stream_texture_factory.h
@@ -21,6 +21,7 @@ class GLES2Interface;
} // namespace gles2
} // namespace gpu
+// TODO(boliu): Remove interfaces.
namespace content {
// The proxy class for the gpu thread to notify the compositor thread
@@ -47,12 +48,6 @@ class StreamTextureProxy {
typedef std::unique_ptr<StreamTextureProxy, StreamTextureProxy::Deleter>
ScopedStreamTextureProxy;
-class StreamTextureFactoryContextObserver {
- public:
- virtual ~StreamTextureFactoryContextObserver() {}
- virtual void ResetStreamTextureProxy() = 0;
-};
-
// Factory class for managing stream textures.
class StreamTextureFactory : public base::RefCounted<StreamTextureFactory> {
public:
@@ -80,9 +75,6 @@ class StreamTextureFactory : public base::RefCounted<StreamTextureFactory> {
virtual gpu::gles2::GLES2Interface* ContextGL() = 0;
- virtual void AddObserver(StreamTextureFactoryContextObserver* obs) = 0;
- virtual void RemoveObserver(StreamTextureFactoryContextObserver* obs) = 0;
-
protected:
friend class base::RefCounted<StreamTextureFactory>;
virtual ~StreamTextureFactory() {}

Powered by Google App Engine
This is Rietveld 408576698