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

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.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
« no previous file with comments | « content/shell/browser/DEPS ('k') | content/test/render_thread_impl_browser_test_ipc_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_content_browser_client.cc
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
index a1fac6641d92dfd8199eef3d33d63a279015fb42..e2b93fd3895028e0b92776964d325849aa049097 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
@@ -22,6 +22,7 @@
#include "content/shell/common/layout_test/layout_test_switches.h"
#include "content/shell/common/shell_messages.h"
#include "content/shell/renderer/layout_test/blink_test_helpers.h"
+#include "services/shell/public/cpp/interface_registry.h"
namespace content {
namespace {
@@ -68,7 +69,7 @@ void LayoutTestContentBrowserClient::RenderProcessWillLaunch(
partition->GetQuotaManager(),
partition->GetURLRequestContext()));
- host->GetServiceRegistry()->AddService(base::Bind(
+ host->GetInterfaceRegistry()->AddInterface(base::Bind(
&LayoutTestBluetoothFakeAdapterSetterImpl::Create, host->GetID()));
host->Send(new ShellViewMsg_SetWebKitSourceDir(GetWebKitRootDirFilePath()));
« no previous file with comments | « content/shell/browser/DEPS ('k') | content/test/render_thread_impl_browser_test_ipc_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698