| OLD | NEW | 
|---|
| 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  Loading... | 
| 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 | 
| OLD | NEW | 
|---|