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 class MessageLoop; | |
12 | |
13 // RenderMediaLog is an implementation of MediaLog that passes all events to the | |
14 // browser process. | |
15 class RenderMediaLog : public media::MediaLog { | |
16 public: | |
jam
2011/08/01 06:03:25
nit: spacing (and below)
Scott Franklin
2011/08/01 18:41:04
Done.
| |
17 RenderMediaLog(); | |
18 | |
19 // MediaLog implementation. | |
20 virtual void AddEvent(media::MediaLogEvent* event); | |
21 | |
22 private: | |
23 virtual ~RenderMediaLog(); | |
24 | |
25 MessageLoop* render_loop_; | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); | |
28 }; | |
29 | |
30 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ | |
OLD | NEW |