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

Side by Side Diff: chrome/renderer/media/webrtc_logging_message_filter.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 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_message_filter.h" 5 #include "chrome/renderer/media/webrtc_logging_message_filter.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/media/webrtc_logging_messages.h" 9 #include "chrome/common/media/webrtc_logging_messages.h"
10 #include "chrome/renderer/media/webrtc_logging_handler_impl.h" 10 #include "chrome/renderer/media/webrtc_logging_handler_impl.h"
11 #include "ipc/ipc_logging.h" 11 #include "ipc/ipc_logging.h"
12 12
13 WebRtcLoggingMessageFilter::WebRtcLoggingMessageFilter( 13 WebRtcLoggingMessageFilter::WebRtcLoggingMessageFilter(
14 const scoped_refptr<base::MessageLoopProxy>& io_message_loop) 14 const scoped_refptr<base::MessageLoopProxy>& io_message_loop)
15 : logging_handler_(NULL), 15 : logging_handler_(NULL),
16 io_message_loop_(io_message_loop), 16 io_message_loop_(io_message_loop),
17 channel_(NULL) { 17 channel_(NULL) {
18 io_message_loop_->PostTask( 18 io_message_loop_->PostTask(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 void WebRtcLoggingMessageFilter::Send(IPC::Message* message) { 80 void WebRtcLoggingMessageFilter::Send(IPC::Message* message) {
81 DCHECK(io_message_loop_->BelongsToCurrentThread()); 81 DCHECK(io_message_loop_->BelongsToCurrentThread());
82 if (!channel_) { 82 if (!channel_) {
83 DLOG(ERROR) << "IPC channel not available."; 83 DLOG(ERROR) << "IPC channel not available.";
84 delete message; 84 delete message;
85 } else { 85 } else {
86 channel_->Send(message); 86 channel_->Send(message);
87 } 87 }
88 } 88 }
OLDNEW
« no previous file with comments | « chrome/renderer/media/webrtc_logging_handler_impl.cc ('k') | chromeos/cryptohome/async_method_caller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698