1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
8 #include "media/base/media_log.h"
11 class MessageLoopProxy
;
16 // RenderMediaLog is an implementation of MediaLog that passes all events to the
18 class RenderMediaLog
: public media::MediaLog
{
22 // MediaLog implementation.
23 virtual void AddEvent(scoped_ptr
<media::MediaLogEvent
> event
) OVERRIDE
;
26 virtual ~RenderMediaLog();
28 scoped_refptr
<base::MessageLoopProxy
> render_loop_
;
30 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog
);
33 } // namespace content
35 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_