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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 #pragma once
8 7
9 #include "media/base/media_log.h" 8 #include "media/base/media_log.h"
10 9
11 namespace base { 10 namespace base {
12 class MessageLoopProxy; 11 class MessageLoopProxy;
13 } 12 }
14 13
15 // RenderMediaLog is an implementation of MediaLog that passes all events to the 14 // RenderMediaLog is an implementation of MediaLog that passes all events to the
16 // browser process. 15 // browser process.
17 class RenderMediaLog : public media::MediaLog { 16 class RenderMediaLog : public media::MediaLog {
18 public: 17 public:
19 RenderMediaLog(); 18 RenderMediaLog();
20 19
21 // MediaLog implementation. 20 // MediaLog implementation.
22 virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE; 21 virtual void AddEvent(scoped_ptr<media::MediaLogEvent> event) OVERRIDE;
23 22
24 private: 23 private:
25 virtual ~RenderMediaLog(); 24 virtual ~RenderMediaLog();
26 25
27 scoped_refptr<base::MessageLoopProxy> render_loop_; 26 scoped_refptr<base::MessageLoopProxy> render_loop_;
28 27
29 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); 28 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog);
30 }; 29 };
31 30
32 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ 31 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_message_filter.h ('k') | content/renderer/media/renderer_gpu_video_decoder_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698