OLD | NEW |
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 #ifndef CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ | 5 #ifndef CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ |
6 #define CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ | 6 #define CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ |
7 | 7 |
8 #include "content/app/mojo/mojo_init.h" | 8 #include "content/app/mojo/mojo_init.h" |
9 #include "content/browser/mojo/mojo_application_host.h" | 9 #include "content/browser/mojo/mojo_application_host.h" |
| 10 #include "ipc/ipc_channel_mojo.h" |
10 #include "ipc/ipc_channel_proxy.h" | 11 #include "ipc/ipc_channel_proxy.h" |
11 #include "ipc/mojo/ipc_channel_mojo.h" | |
12 #include "mojo/edk/test/scoped_ipc_support.h" | 12 #include "mojo/edk/test/scoped_ipc_support.h" |
13 | 13 |
14 namespace IPC { | 14 namespace IPC { |
15 class ChannelProxy; | 15 class ChannelProxy; |
16 class Sender; | 16 class Sender; |
17 }; | 17 }; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 // Helper for RenderThreadImplBrowserTest which takes care of setting up an IPC | 21 // Helper for RenderThreadImplBrowserTest which takes care of setting up an IPC |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_; | 54 std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_; |
55 std::unique_ptr<MojoApplicationHost> mojo_application_host_; | 55 std::unique_ptr<MojoApplicationHost> mojo_application_host_; |
56 std::string mojo_ipc_token_; | 56 std::string mojo_ipc_token_; |
57 std::string mojo_application_token_; | 57 std::string mojo_application_token_; |
58 std::string channel_id_; | 58 std::string channel_id_; |
59 }; | 59 }; |
60 | 60 |
61 } // namespace content | 61 } // namespace content |
62 | 62 |
63 #endif // CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ | 63 #endif // CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ |
OLD | NEW |