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

Side by Side Diff: ipc/ipc_channel_mojo_unittest.cc

Issue 2069803003: Fold //ipc/mojo into //ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-deps
Patch Set: rebase Created 4 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 | « ipc/ipc_channel_mojo.cc ('k') | ipc/ipc_export.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/mojo/ipc_channel_mojo.h" 5 #include "ipc/ipc_channel_mojo.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/base_paths.h" 12 #include "base/base_paths.h"
13 #include "base/files/file.h" 13 #include "base/files/file.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/pickle.h" 17 #include "base/pickle.h"
18 #include "base/run_loop.h" 18 #include "base/run_loop.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/test/test_io_thread.h" 20 #include "base/test/test_io_thread.h"
21 #include "base/test/test_timeouts.h" 21 #include "base/test/test_timeouts.h"
22 #include "base/threading/thread.h" 22 #include "base/threading/thread.h"
23 #include "base/threading/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "ipc/ipc_message.h" 25 #include "ipc/ipc_message.h"
26 #include "ipc/ipc_mojo_handle_attachment.h"
27 #include "ipc/ipc_mojo_message_helper.h"
28 #include "ipc/ipc_mojo_param_traits.h"
26 #include "ipc/ipc_test_base.h" 29 #include "ipc/ipc_test_base.h"
27 #include "ipc/ipc_test_channel_listener.h" 30 #include "ipc/ipc_test_channel_listener.h"
28 #include "ipc/mojo/ipc_channel_mojo.h"
29 #include "ipc/mojo/ipc_mojo_handle_attachment.h"
30 #include "ipc/mojo/ipc_mojo_message_helper.h"
31 #include "ipc/mojo/ipc_mojo_param_traits.h"
32 #include "mojo/edk/test/mojo_test_base.h" 31 #include "mojo/edk/test/mojo_test_base.h"
33 #include "mojo/edk/test/multiprocess_test_helper.h" 32 #include "mojo/edk/test/multiprocess_test_helper.h"
34 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
35 34
36 #if defined(OS_POSIX) 35 #if defined(OS_POSIX)
37 #include "base/file_descriptor_posix.h" 36 #include "base/file_descriptor_posix.h"
38 #include "ipc/ipc_platform_file_attachment_posix.h" 37 #include "ipc/ipc_platform_file_attachment_posix.h"
39 #endif 38 #endif
40 39
41 #define DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(client_name, test_base) \ 40 #define DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(client_name, test_base) \
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 Connect(&listener); 736 Connect(&listener);
738 737
739 base::MessageLoop::current()->Run(); 738 base::MessageLoop::current()->Run();
740 739
741 Close(); 740 Close();
742 } 741 }
743 742
744 #endif // OS_LINUX 743 #endif // OS_LINUX
745 744
746 } // namespace 745 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_channel_mojo.cc ('k') | ipc/ipc_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698