OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/renderer/media/webrtc_logging_handler_impl.h" | 5 #include "chrome/renderer/media/webrtc_logging_handler_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 #include "chrome/common/partial_circular_buffer.h" | 9 #include "chrome/common/partial_circular_buffer.h" |
10 #include "chrome/renderer/media/webrtc_logging_message_filter.h" | 10 #include "chrome/renderer/media/webrtc_logging_message_filter.h" |
11 | 11 |
12 WebRtcLoggingHandlerImpl::WebRtcLoggingHandlerImpl( | 12 WebRtcLoggingHandlerImpl::WebRtcLoggingHandlerImpl( |
13 const scoped_refptr<base::MessageLoopProxy>& io_message_loop, | 13 const scoped_refptr<base::MessageLoopProxy>& io_message_loop, |
14 WebRtcLoggingMessageFilter* message_filter) | 14 WebRtcLoggingMessageFilter* message_filter) |
15 : io_message_loop_(io_message_loop), | 15 : io_message_loop_(io_message_loop), |
16 message_filter_(message_filter), | 16 message_filter_(message_filter), |
17 log_initialized_(false) { | 17 log_initialized_(false) { |
18 content::InitWebRtcLoggingDelegate(this); | 18 content::InitWebRtcLoggingDelegate(this); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 length, | 66 length, |
67 length / 2)); | 67 length / 2)); |
68 } | 68 } |
69 | 69 |
70 void WebRtcLoggingHandlerImpl::OnOpenLogFailed() { | 70 void WebRtcLoggingHandlerImpl::OnOpenLogFailed() { |
71 DCHECK(CalledOnValidThread()); | 71 DCHECK(CalledOnValidThread()); |
72 DLOG(ERROR) << "Could not open log."; | 72 DLOG(ERROR) << "Could not open log."; |
73 // TODO(grunell): Implement. | 73 // TODO(grunell): Implement. |
74 NOTIMPLEMENTED(); | 74 NOTIMPLEMENTED(); |
75 } | 75 } |
OLD | NEW |