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

Unified Diff: components/web_cache/browser/web_cache_manager.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: components/web_cache/browser/web_cache_manager.cc
diff --git a/components/web_cache/browser/web_cache_manager.cc b/components/web_cache/browser/web_cache_manager.cc
index 488fe5861c4e6a57aefa4cbe3865ecec55198daa..f82b216a586ffbcb8e64433d44c56355355129dc 100644
--- a/components/web_cache/browser/web_cache_manager.cc
+++ b/components/web_cache/browser/web_cache_manager.cc
@@ -22,7 +22,7 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/render_process_host.h"
-#include "content/public/common/service_registry.h"
+#include "services/shell/public/cpp/interface_provider.h"
using base::Time;
using base::TimeDelta;
@@ -94,8 +94,7 @@ void WebCacheManager::Add(int renderer_id) {
content::RenderProcessHost::FromID(renderer_id);
if (host) {
mojom::WebCachePtr service;
- host->GetServiceRegistry()->ConnectToRemoteService(
- mojo::GetProxy(&service));
+ host->GetRemoteInterfaces()->GetInterface(&service);
web_cache_services_[renderer_id] = std::move(service);
}
« no previous file with comments | « components/web_cache/browser/DEPS ('k') | content/browser/battery_status/battery_monitor_integration_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698