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

Unified Diff: content/test/render_thread_impl_browser_test_ipc_helper.cc

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
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
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..b7e39d7bd8cba4206712ebebf710543807db24fd 100644
--- a/content/test/render_thread_impl_browser_test_ipc_helper.cc
+++ b/content/test/render_thread_impl_browser_test_ipc_helper.cc
@@ -4,6 +4,7 @@
#include "content/test/render_thread_impl_browser_test_ipc_helper.h"
+#include "ipc/ipc_channel_mojo.h"
#include "mojo/edk/embedder/embedder.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -41,8 +42,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_process_control_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698