| OLD | NEW | 
|---|
| 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 <stddef.h> | 
|  | 8 | 
| 7 #include <string> | 9 #include <string> | 
| 8 #include <vector> | 10 #include <vector> | 
| 9 | 11 | 
| 10 #include "base/bind.h" | 12 #include "base/bind.h" | 
| 11 #include "base/location.h" | 13 #include "base/location.h" | 
| 12 #include "base/logging.h" | 14 #include "base/logging.h" | 
| 13 #include "base/macros.h" | 15 #include "base/macros.h" | 
| 14 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" | 
| 15 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" | 
| 16 #include "base/run_loop.h" | 18 #include "base/run_loop.h" | 
| 17 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" | 
| 18 #include "base/strings/string_util.h" | 20 #include "base/strings/string_util.h" | 
| 19 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" | 
| 20 #include "base/thread_task_runner_handle.h" | 22 #include "base/thread_task_runner_handle.h" | 
| 21 #include "base/threading/platform_thread.h" | 23 #include "base/threading/platform_thread.h" | 
| 22 #include "base/threading/thread.h" | 24 #include "base/threading/thread.h" | 
|  | 25 #include "build/build_config.h" | 
| 23 #include "ipc/ipc_listener.h" | 26 #include "ipc/ipc_listener.h" | 
| 24 #include "ipc/ipc_message.h" | 27 #include "ipc/ipc_message.h" | 
| 25 #include "ipc/ipc_sender.h" | 28 #include "ipc/ipc_sender.h" | 
| 26 #include "ipc/ipc_sync_message_filter.h" | 29 #include "ipc/ipc_sync_message_filter.h" | 
| 27 #include "ipc/ipc_sync_message_unittest.h" | 30 #include "ipc/ipc_sync_message_unittest.h" | 
| 28 #include "testing/gtest/include/gtest/gtest.h" | 31 #include "testing/gtest/include/gtest/gtest.h" | 
| 29 | 32 | 
| 30 using base::WaitableEvent; | 33 using base::WaitableEvent; | 
| 31 | 34 | 
| 32 namespace IPC { | 35 namespace IPC { | 
| (...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1802 } | 1805 } | 
| 1803 | 1806 | 
| 1804 // Windows needs to send an out-of-band secret to verify the client end of the | 1807 // Windows needs to send an out-of-band secret to verify the client end of the | 
| 1805 // channel. Test that we still connect correctly in that case. | 1808 // channel. Test that we still connect correctly in that case. | 
| 1806 TEST_F(IPCSyncChannelTest, Verified) { | 1809 TEST_F(IPCSyncChannelTest, Verified) { | 
| 1807   Verified(); | 1810   Verified(); | 
| 1808 } | 1811 } | 
| 1809 | 1812 | 
| 1810 }  // namespace | 1813 }  // namespace | 
| 1811 }  // namespace IPC | 1814 }  // namespace IPC | 
| OLD | NEW | 
|---|