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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "base/process_util.h" | 15 #include "base/process_util.h" |
16 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
17 #include "base/string_util.h" | 17 #include "base/strings/string_util.h" |
| 18 #include "base/synchronization/waitable_event.h" |
18 #include "base/threading/platform_thread.h" | 19 #include "base/threading/platform_thread.h" |
19 #include "base/threading/thread.h" | 20 #include "base/threading/thread.h" |
20 #include "base/synchronization/waitable_event.h" | |
21 #include "ipc/ipc_listener.h" | 21 #include "ipc/ipc_listener.h" |
22 #include "ipc/ipc_message.h" | 22 #include "ipc/ipc_message.h" |
23 #include "ipc/ipc_sender.h" | 23 #include "ipc/ipc_sender.h" |
24 #include "ipc/ipc_sync_message_filter.h" | 24 #include "ipc/ipc_sync_message_filter.h" |
25 #include "ipc/ipc_sync_message_unittest.h" | 25 #include "ipc/ipc_sync_message_unittest.h" |
26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
27 | 27 |
28 using base::WaitableEvent; | 28 using base::WaitableEvent; |
29 | 29 |
30 namespace IPC { | 30 namespace IPC { |
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 } | 1880 } |
1881 | 1881 |
1882 // Windows needs to send an out-of-band secret to verify the client end of the | 1882 // Windows needs to send an out-of-band secret to verify the client end of the |
1883 // channel. Test that we still connect correctly in that case. | 1883 // channel. Test that we still connect correctly in that case. |
1884 TEST_F(IPCSyncChannelTest, Verified) { | 1884 TEST_F(IPCSyncChannelTest, Verified) { |
1885 Verified(); | 1885 Verified(); |
1886 } | 1886 } |
1887 | 1887 |
1888 } // namespace | 1888 } // namespace |
1889 } // namespace IPC | 1889 } // namespace IPC |
OLD | NEW |