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

Side by Side Diff: ipc/ipc_sync_channel.h

Issue 2657005: Get rid of DISALLOW_EVIL_CONSTRUCTORS macro usage in our code base. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: added the macro back Created 10 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
« no previous file with comments | « gpu/command_buffer/common/types.h ('k') | ipc/ipc_sync_channel_unittest.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // Runs a nested message loop until a reply arrives, times out, or the process 140 // Runs a nested message loop until a reply arrives, times out, or the process
141 // shuts down. 141 // shuts down.
142 static void WaitForReplyWithNestedMessageLoop(SyncContext* context); 142 static void WaitForReplyWithNestedMessageLoop(SyncContext* context);
143 143
144 bool sync_messages_with_no_timeout_allowed_; 144 bool sync_messages_with_no_timeout_allowed_;
145 145
146 // Used to signal events between the IPC and listener threads. 146 // Used to signal events between the IPC and listener threads.
147 base::WaitableEventWatcher dispatch_watcher_; 147 base::WaitableEventWatcher dispatch_watcher_;
148 148
149 DISALLOW_EVIL_CONSTRUCTORS(SyncChannel); 149 DISALLOW_COPY_AND_ASSIGN(SyncChannel);
150 }; 150 };
151 151
152 } // namespace IPC 152 } // namespace IPC
153 153
154 #endif // IPC_IPC_SYNC_SENDER_H__ 154 #endif // IPC_IPC_SYNC_SENDER_H__
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/types.h ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698