Chromium Code Reviews| 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_CONTENT_MEDIA_LOG_H_ | |
| 6 #define CONTENT_RENDERER_MEDIA_CONTENT_MEDIA_LOG_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "media/base/media_log.h" | |
| 10 | |
| 11 class MessageLoop; | |
| 12 | |
| 13 // ContentMediaLog is an implementation of MediaLog that hands off all events | |
| 14 // to MediaLogHost via IPC. | |
| 15 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.
| |
| 16 public: | |
| 17 ContentMediaLog(); | |
| 18 | |
| 19 // MediaLog implementation. | |
| 20 virtual void AddEvent(Event* event); | |
| 21 | |
| 22 private: | |
| 23 virtual ~ContentMediaLog(); | |
| 24 | |
| 25 MessageLoop* render_loop_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(ContentMediaLog); | |
| 28 }; | |
| 29 | |
| 30 #endif // CONTENT_RENDERER_MEDIA_CONTENT_MEDIA_LOG_H_ | |
| OLD | NEW |