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

Unified Diff: content/test/render_thread_impl_browser_test_ipc_helper.cc

Issue 2109483002: Remove MojoApplication[Host] & ApplicationSetup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@u2
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/render_thread_impl_browser_test_ipc_helper.h ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/render_thread_impl_browser_test_ipc_helper.cc
diff --git a/content/test/render_thread_impl_browser_test_ipc_helper.cc b/content/test/render_thread_impl_browser_test_ipc_helper.cc
index 8a60414da31745580bf4a57913d92d625e01e1c9..4ffd75bc4dea21b12c7bb3d6d09dde219b479d2f 100644
--- a/content/test/render_thread_impl_browser_test_ipc_helper.cc
+++ b/content/test/render_thread_impl_browser_test_ipc_helper.cc
@@ -41,8 +41,7 @@ void RenderThreadImplBrowserIPCTestHelper::SetupMojo() {
std::string child_token = mojo::edk::GenerateRandomToken();
ipc_support_.reset(
new mojo::edk::test::ScopedIPCSupport(ipc_thread_->task_runner()));
- mojo_application_host_.reset(new MojoApplicationHost(child_token));
- mojo_application_token_ = mojo_application_host_->GetToken();
+ mojo_application_token_ = mojo::edk::GenerateRandomToken();
mojo_ipc_token_ = mojo::edk::GenerateRandomToken();
« no previous file with comments | « content/test/render_thread_impl_browser_test_ipc_helper.h ('k') | content/utility/utility_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698