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

Side by Side Diff: ipc/ipc_sync_message.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.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) 2010 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 #include <stack> 10 #include <stack>
11 11
12 #include "base/atomic_sequence_num.h" 12 #include "base/atomic_sequence_num.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
15 #include "ipc/ipc_sync_message.h" 15 #include "ipc/ipc_sync_message.h"
16 16
17 namespace IPC { 17 namespace IPC {
18 18
19 #define kSyncMessageHeaderSize 4 19 #define kSyncMessageHeaderSize 4
20 20
21 static base::AtomicSequenceNumber g_next_id(base::LINKER_INITIALIZED); 21 static base::AtomicSequenceNumber g_next_id(base::LINKER_INITIALIZED);
22 22
23 static base::WaitableEvent* dummy_event = new base::WaitableEvent(true, true); 23 static base::WaitableEvent* dummy_event = new base::WaitableEvent(true, true);
24 24
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 return true; 120 return true;
121 } 121 }
122 122
123 123
124 bool MessageReplyDeserializer::SerializeOutputParameters(const Message& msg) { 124 bool MessageReplyDeserializer::SerializeOutputParameters(const Message& msg) {
125 return SerializeOutputParameters(msg, SyncMessage::GetDataIterator(&msg)); 125 return SerializeOutputParameters(msg, SyncMessage::GetDataIterator(&msg));
126 } 126 }
127 127
128 } // namespace IPC 128 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698