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

Side by Side Diff: ipc/ipc_sync_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
« no previous file with comments | « ipc/ipc_channel_nacl.cc ('k') | jingle/notifier/listener/non_blocking_push_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ipc/ipc_sync_message_filter.h" 5 #include "ipc/ipc_sync_message_filter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "ipc/ipc_sync_message.h" 12 #include "ipc/ipc_sync_message.h"
13 13
14 using base::MessageLoopProxy; 14 using base::MessageLoopProxy;
15 15
16 namespace IPC { 16 namespace IPC {
17 17
18 SyncMessageFilter::SyncMessageFilter(base::WaitableEvent* shutdown_event) 18 SyncMessageFilter::SyncMessageFilter(base::WaitableEvent* shutdown_event)
19 : channel_(NULL), 19 : channel_(NULL),
20 listener_loop_(MessageLoopProxy::current()), 20 listener_loop_(MessageLoopProxy::current()),
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void SyncMessageFilter::SignalAllEvents() { 120 void SyncMessageFilter::SignalAllEvents() {
121 base::AutoLock auto_lock(lock_); 121 base::AutoLock auto_lock(lock_);
122 for (PendingSyncMessages::iterator iter = pending_sync_messages_.begin(); 122 for (PendingSyncMessages::iterator iter = pending_sync_messages_.begin();
123 iter != pending_sync_messages_.end(); ++iter) { 123 iter != pending_sync_messages_.end(); ++iter) {
124 (*iter)->done_event->Signal(); 124 (*iter)->done_event->Signal();
125 } 125 }
126 } 126 }
127 127
128 } // namespace IPC 128 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_channel_nacl.cc ('k') | jingle/notifier/listener/non_blocking_push_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698