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

Side by Side Diff: ipc/ipc_sync_channel.h

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 3 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_logging.h ('k') | ipc/ipc_sync_message.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 IPC_IPC_SYNC_SENDER_H_ 5 #ifndef IPC_IPC_SYNC_SENDER_H__
6 #define IPC_IPC_SYNC_SENDER_H_ 6 #define IPC_IPC_SYNC_SENDER_H__
7 7
8 #include <string> 8 #include <string>
9 #include <deque> 9 #include <deque>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/lock.h" 12 #include "base/lock.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/waitable_event_watcher.h" 14 #include "base/waitable_event_watcher.h"
15 #include "ipc/ipc_channel_proxy.h" 15 #include "ipc/ipc_channel_proxy.h"
16 16
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Runs a nested message loop until a reply arrives, times out, or the process 147 // Runs a nested message loop until a reply arrives, times out, or the process
148 // shuts down. 148 // shuts down.
149 void WaitForReplyWithNestedMessageLoop(); 149 void WaitForReplyWithNestedMessageLoop();
150 150
151 bool sync_messages_with_no_timeout_allowed_; 151 bool sync_messages_with_no_timeout_allowed_;
152 152
153 // Used to signal events between the IPC and listener threads. 153 // Used to signal events between the IPC and listener threads.
154 base::WaitableEventWatcher send_done_watcher_; 154 base::WaitableEventWatcher send_done_watcher_;
155 base::WaitableEventWatcher dispatch_watcher_; 155 base::WaitableEventWatcher dispatch_watcher_;
156 156
157 DISALLOW_COPY_AND_ASSIGN(SyncChannel); 157 DISALLOW_EVIL_CONSTRUCTORS(SyncChannel);
158 }; 158 };
159 159
160 } // namespace IPC 160 } // namespace IPC
161 161
162 #endif // IPC_IPC_SYNC_SENDER_H_ 162 #endif // IPC_IPC_SYNC_SENDER_H__
OLDNEW
« no previous file with comments | « ipc/ipc_logging.h ('k') | ipc/ipc_sync_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698