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

Unified Diff: media/video/video_decode_engine.h

Issue 8417016: Remove media::VideoDecodeContext as it has no implementation and is unused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 9 years, 2 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 | « media/video/video_decode_context.h ('k') | media/video/video_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_engine.h
diff --git a/media/video/video_decode_engine.h b/media/video/video_decode_engine.h
index c2b1bfaf863401a8f6359f1615b4360b4704e30a..2d52b2450dfde768837b1f80a84e70487a980eb0 100644
--- a/media/video/video_decode_engine.h
+++ b/media/video/video_decode_engine.h
@@ -11,13 +11,9 @@
#include "media/base/video_decoder_config.h"
#include "media/base/video_frame.h"
-class MessageLoop;
-
namespace media {
class Buffer;
-class VideoDecodeContext;
-
struct PipelineStatistics;
class MEDIA_EXPORT VideoDecodeEngine {
@@ -66,17 +62,9 @@ class MEDIA_EXPORT VideoDecodeEngine {
// Initialize the engine with specified configuration.
//
- // |decode_context| is used for allocation of VideoFrame.
- // It is important that |decode_context| is called only on |message_loop|.
- //
- // TODO(hclam): Currently refactoring code to use VideoDecodeContext so
- // |context| may be NULL in some cases.
- //
// Engine should call EventHandler::OnInitializeDone() whether the
// initialization operation finished successfully or not.
- virtual void Initialize(MessageLoop* message_loop,
- EventHandler* event_handler,
- VideoDecodeContext* context,
+ virtual void Initialize(EventHandler* event_handler,
const VideoDecoderConfig& config) = 0;
// Uninitialize the engine. Engine should destroy all resources and call
« no previous file with comments | « media/video/video_decode_context.h ('k') | media/video/video_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698