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

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

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ 6 #define CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
7 7
8 #include "media/base/media_log.h" 8 #include "media/base/media_log.h"
9 9
10 namespace base { 10 namespace base {
11 class MessageLoopProxy; 11 class MessageLoopProxy;
12 } 12 }
13 13
14 namespace content {
15
14 // RenderMediaLog is an implementation of MediaLog that passes all events to the 16 // RenderMediaLog is an implementation of MediaLog that passes all events to the
15 // browser process. 17 // browser process.
16 class RenderMediaLog : public media::MediaLog { 18 class RenderMediaLog : public media::MediaLog {
17 public: 19 public:
18 RenderMediaLog(); 20 RenderMediaLog();
19 21
20 // MediaLog implementation. 22 // MediaLog implementation.
21 virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE; 23 virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE;
22 24
23 private: 25 private:
24 virtual ~RenderMediaLog(); 26 virtual ~RenderMediaLog();
25 27
26 scoped_refptr<base::MessageLoopProxy> render_loop_; 28 scoped_refptr<base::MessageLoopProxy> render_loop_;
27 29
28 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); 30 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog);
29 }; 31 };
30 32
33 } // namespace content
34
31 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ 35 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
OLDNEW
« no previous file with comments | « content/renderer/media/render_audiosourceprovider.cc ('k') | content/renderer/media/render_media_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698