Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: content/renderer/media/render_media_log.h

Issue 7480032: Plumb media data from renderers up to MediaInternals in the browser process. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebasing onto http://codereview.chromium.org/7491048 prior to (hopefully) relanding. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698