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

Side by Side Diff: ipc/ipc_sync_channel.cc

Issue 888883002: Mechanical rename of tracing includes (remaining bits) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trace_watchlist
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ipc/ipc_message.h ('k') | native_client_sdk/src/libraries/xray/browser.c » ('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_channel.h" 5 #include "ipc/ipc_sync_channel.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/debug/trace_event.h"
9 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
10 #include "base/location.h" 9 #include "base/location.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
13 #include "base/synchronization/waitable_event_watcher.h" 12 #include "base/synchronization/waitable_event_watcher.h"
14 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
15 #include "base/threading/thread_local.h" 14 #include "base/threading/thread_local.h"
15 #include "base/trace_event/trace_event.h"
16 #include "ipc/ipc_channel_factory.h" 16 #include "ipc/ipc_channel_factory.h"
17 #include "ipc/ipc_logging.h" 17 #include "ipc/ipc_logging.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_sync_message.h" 19 #include "ipc/ipc_sync_message.h"
20 20
21 using base::TimeDelta; 21 using base::TimeDelta;
22 using base::TimeTicks; 22 using base::TimeTicks;
23 using base::WaitableEvent; 23 using base::WaitableEvent;
24 24
25 namespace IPC { 25 namespace IPC {
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 // manual reset since the object watcher might otherwise reset the event 577 // manual reset since the object watcher might otherwise reset the event
578 // when we're doing a WaitMany. 578 // when we're doing a WaitMany.
579 dispatch_watcher_callback_ = 579 dispatch_watcher_callback_ =
580 base::Bind(&SyncChannel::OnWaitableEventSignaled, 580 base::Bind(&SyncChannel::OnWaitableEventSignaled,
581 base::Unretained(this)); 581 base::Unretained(this));
582 dispatch_watcher_.StartWatching(sync_context()->GetDispatchEvent(), 582 dispatch_watcher_.StartWatching(sync_context()->GetDispatchEvent(),
583 dispatch_watcher_callback_); 583 dispatch_watcher_callback_);
584 } 584 }
585 585
586 } // namespace IPC 586 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_message.h ('k') | native_client_sdk/src/libraries/xray/browser.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698