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

Unified Diff: blimp/engine/renderer/blob_channel_sender_proxy.cc

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
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/DEPS ('k') | chrome/browser/android/contextualsearch/contextual_search_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/renderer/blob_channel_sender_proxy.cc
diff --git a/blimp/engine/renderer/blob_channel_sender_proxy.cc b/blimp/engine/renderer/blob_channel_sender_proxy.cc
index 8b689d36c73dd840878105bb72a926845ebe97be..efdfeae668bcd02cc3e329944e7a495559337843 100644
--- a/blimp/engine/renderer/blob_channel_sender_proxy.cc
+++ b/blimp/engine/renderer/blob_channel_sender_proxy.cc
@@ -4,8 +4,8 @@
#include "blimp/engine/renderer/blob_channel_sender_proxy.h"
-#include "content/public/common/service_registry.h"
#include "content/public/renderer/render_thread.h"
+#include "services/shell/public/cpp/interface_provider.h"
namespace blimp {
namespace engine {
@@ -13,9 +13,9 @@ namespace {
mojom::BlobChannelPtr GetConnectedBlobChannel() {
mojom::BlobChannelPtr blob_channel_ptr;
- content::RenderThread::Get()->GetServiceRegistry()->ConnectToRemoteService(
- mojo::GetProxy(&blob_channel_ptr));
- CHECK(blob_channel_ptr) << "Could not connect to BlobChannel Mojo service.";
+ content::RenderThread::Get()->GetRemoteInterfaces()->GetInterface(
+ &blob_channel_ptr);
+ CHECK(blob_channel_ptr) << "Could not connect to BlobChannel Mojo interface.";
return blob_channel_ptr;
}
« no previous file with comments | « blimp/engine/DEPS ('k') | chrome/browser/android/contextualsearch/contextual_search_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698