Fix build break
[chromium-blink-merge.git] / content / renderer / media / render_media_log.h
blob4c26cdf78527f111d04ee9acf611fa3b477cfcdf
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"
10 namespace base {
11 class MessageLoopProxy;
14 namespace content {
16 // RenderMediaLog is an implementation of MediaLog that passes all events to the
17 // browser process.
18 class RenderMediaLog : public media::MediaLog {
19 public:
20 RenderMediaLog();
22 // MediaLog implementation.
23 virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE;
25 private:
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_