OLD | NEW |
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 <vector> | 8 #include <vector> |
9 #include "base/time.h" | 9 #include "base/time/time.h" |
10 #include "media/base/media_log.h" | 10 #include "media/base/media_log.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 class MessageLoopProxy; | 13 class MessageLoopProxy; |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 // RenderMediaLog is an implementation of MediaLog that passes all events to the | 18 // RenderMediaLog is an implementation of MediaLog that passes all events to the |
19 // browser process, throttling as necessary. | 19 // browser process, throttling as necessary. |
(...skipping 10 matching lines...) Expand all Loading... |
30 scoped_refptr<base::MessageLoopProxy> render_loop_; | 30 scoped_refptr<base::MessageLoopProxy> render_loop_; |
31 base::Time last_ipc_send_time_; | 31 base::Time last_ipc_send_time_; |
32 std::vector<media::MediaLogEvent> queued_media_events_; | 32 std::vector<media::MediaLogEvent> queued_media_events_; |
33 | 33 |
34 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); | 34 DISALLOW_COPY_AND_ASSIGN(RenderMediaLog); |
35 }; | 35 }; |
36 | 36 |
37 } // namespace content | 37 } // namespace content |
38 | 38 |
39 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ | 39 #endif // CONTENT_RENDERER_MEDIA_RENDER_MEDIA_LOG_H_ |
OLD | NEW |