Index: content/renderer/media/content_media_log.h |
diff --git a/content/renderer/media/content_media_log.h b/content/renderer/media/content_media_log.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..661a3ba762028301fe77dde7cbe5453c52539a20 |
--- /dev/null |
+++ b/content/renderer/media/content_media_log.h |
@@ -0,0 +1,30 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_RENDERER_MEDIA_CONTENT_MEDIA_LOG_H_ |
+#define CONTENT_RENDERER_MEDIA_CONTENT_MEDIA_LOG_H_ |
+#pragma once |
+ |
+#include "media/base/media_log.h" |
+ |
+class MessageLoop; |
+ |
+// ContentMediaLog is an implementation of MediaLog that hands off all events |
+// to MediaLogHost via IPC. |
+class ContentMediaLog : public media::MediaLog { |
jam
2011/07/29 16:08:55
we don't name any classes starting with "Content".
Scott Franklin
2011/07/29 22:30:25
Done.
|
+public: |
+ ContentMediaLog(); |
+ |
+ // MediaLog implementation. |
+ virtual void AddEvent(Event* event); |
+ |
+private: |
+ virtual ~ContentMediaLog(); |
+ |
+ MessageLoop* render_loop_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ContentMediaLog); |
+}; |
+ |
+#endif // CONTENT_RENDERER_MEDIA_CONTENT_MEDIA_LOG_H_ |