| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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. | |
| 4 | |
| 5 #ifndef CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ | |
| 6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "media/base/media_log.h" | |
| 10 | |
| 11 namespace base { | |
| 12 class MessageLoopProxy; | |
| 13 } | |
| 14 | |
| 15 // RenderMediaLog is an implementation of MediaLog that passes all events to the | |
| 16 // browser process. | |
| 17 class RenderMediaLog : public media::MediaLog { | |
| 18 public: | |
| 19 RenderMediaLog(); | |
| 20 | |
| 21 // MediaLog implementation. | |
| 22 virtual void AddEvent(media::MediaLogEvent* event); | |
| 23 | |
| 24 private: | |
| 25 virtual ~RenderMediaLog(); | |
| 26 | |
| 27 scoped_refptr<base::MessageLoopProxy> render_loop_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); | |
| 30 }; | |
| 31 | |
| 32 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ | |
| OLD | NEW |