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

Side by Side Diff: content/test/render_thread_impl_browser_test_ipc_helper.h

Issue 2109483002: Remove MojoApplication[Host] & ApplicationSetup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@u2
Patch Set: . Created 4 years, 5 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
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 #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"
10 #include "ipc/ipc_channel_mojo.h" 9 #include "ipc/ipc_channel_mojo.h"
11 #include "ipc/ipc_channel_proxy.h" 10 #include "ipc/ipc_channel_proxy.h"
12 #include "mojo/edk/test/scoped_ipc_support.h" 11 #include "mojo/edk/test/scoped_ipc_support.h"
13 12
14 namespace IPC { 13 namespace IPC {
15 class ChannelProxy; 14 class ChannelProxy;
16 class Sender; 15 class Sender;
17 }; 16 };
18 17
19 namespace content { 18 namespace content {
(...skipping 25 matching lines...) Expand all
45 class DummyListener; 44 class DummyListener;
46 45
47 void SetupIpcThread(); 46 void SetupIpcThread();
48 void SetupMojo(); 47 void SetupMojo();
49 48
50 std::unique_ptr<IPC::ChannelProxy> channel_; 49 std::unique_ptr<IPC::ChannelProxy> channel_;
51 std::unique_ptr<base::Thread> ipc_thread_; 50 std::unique_ptr<base::Thread> ipc_thread_;
52 std::unique_ptr<base::MessageLoopForIO> message_loop_; 51 std::unique_ptr<base::MessageLoopForIO> message_loop_;
53 std::unique_ptr<DummyListener> dummy_listener_; 52 std::unique_ptr<DummyListener> dummy_listener_;
54 std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_; 53 std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_;
55 std::unique_ptr<MojoApplicationHost> mojo_application_host_;
56 std::string mojo_ipc_token_; 54 std::string mojo_ipc_token_;
57 std::string mojo_application_token_; 55 std::string mojo_application_token_;
58 std::string channel_id_; 56 std::string channel_id_;
59 }; 57 };
60 58
61 } // namespace content 59 } // namespace content
62 60
63 #endif // CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_ 61 #endif // CONTENT_TEST_RENDER_THREAD_IMPL_BROWSER_TEST_IPC_HELPER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/render_thread_impl_browser_test_ipc_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698