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

Unified Diff: content/renderer/render_thread_impl_browsertest.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl_browsertest.cc
diff --git a/content/renderer/render_thread_impl_browsertest.cc b/content/renderer/render_thread_impl_browsertest.cc
index d133ae03f75d0d93cda04b035f4df7a1d9f04777..73d3748e4ffde96483970ad0fa703c1d794c19e2 100644
--- a/content/renderer/render_thread_impl_browsertest.cc
+++ b/content/renderer/render_thread_impl_browsertest.cc
@@ -20,13 +20,13 @@
#include "content/app/mojo/mojo_init.h"
#include "content/child/child_gpu_memory_buffer_manager.h"
#include "content/common/in_process_child_thread_params.h"
-#include "content/common/mojo/mojo_child_connection.h"
#include "content/common/resource_messages.h"
+#include "content/common/service_manager/child_connection.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
-#include "content/public/common/mojo_shell_connection.h"
+#include "content/public/common/service_manager_connection.h"
#include "content/public/common/service_names.h"
#include "content/public/renderer/content_renderer_client.h"
#include "content/public/test/content_browser_test.h"
@@ -178,9 +178,10 @@ class RenderThreadImplBrowserTest : public testing::Test {
InitializeMojo();
ipc_support_.reset(new mojo::edk::test::ScopedIPCSupport(io_task_runner));
shell_context_.reset(new TestServiceManagerContext);
- child_connection_.reset(new MojoChildConnection(
- kRendererMojoApplicationName, "test", mojo::edk::GenerateRandomToken(),
- MojoShellConnection::GetForProcess()->GetConnector(), io_task_runner));
+ child_connection_.reset(new ChildConnection(
+ kRendererServiceName, "test", mojo::edk::GenerateRandomToken(),
+ ServiceManagerConnection::GetForProcess()->GetConnector(),
+ io_task_runner));
mojo::MessagePipe pipe;
IPC::mojom::ChannelBootstrapPtr channel_bootstrap;
@@ -229,7 +230,7 @@ class RenderThreadImplBrowserTest : public testing::Test {
std::unique_ptr<TestBrowserThreadBundle> browser_threads_;
std::unique_ptr<mojo::edk::test::ScopedIPCSupport> ipc_support_;
std::unique_ptr<TestServiceManagerContext> shell_context_;
- std::unique_ptr<MojoChildConnection> child_connection_;
+ std::unique_ptr<ChildConnection> child_connection_;
std::unique_ptr<DummyListener> dummy_listener_;
std::unique_ptr<IPC::ChannelProxy> channel_;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698