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

Unified Diff: blimp/engine/app/blimp_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 | « blimp/engine/app/blimp_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_content_browser_client.cc
diff --git a/blimp/engine/app/blimp_content_browser_client.cc b/blimp/engine/app/blimp_content_browser_client.cc
index 196006aff1506f73d4cff6c81123130ee596b650..3c6ab5b12f0cbca56624ccd03df1c0253b746df6 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -6,7 +6,7 @@
#include "blimp/engine/app/blimp_browser_main_parts.h"
#include "blimp/engine/app/settings_manager.h"
#include "blimp/engine/mojo/blob_channel_service.h"
-#include "content/public/common/service_registry.h"
+#include "services/shell/public/cpp/interface_registry.h"
namespace blimp {
namespace engine {
@@ -51,10 +51,10 @@ bool BlimpContentBrowserClient::UseNetworkLocationProviders() {
return false;
}
-void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
- content::ServiceRegistry* registry,
+void BlimpContentBrowserClient::ExposeInterfacesToRenderer(
+ shell::InterfaceRegistry* registry,
content::RenderProcessHost* render_process_host) {
- registry->AddService<mojom::BlobChannel>(
+ registry->AddInterface<mojom::BlobChannel>(
base::Bind(&BlobChannelService::Create,
blimp_browser_main_parts_->GetBlobChannelSender()));
}
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698