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

Unified Diff: components/web_cache/renderer/web_cache_impl.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 | « components/web_cache/renderer/DEPS ('k') | content/browser/android/service_registry_android_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_cache/renderer/web_cache_impl.cc
diff --git a/components/web_cache/renderer/web_cache_impl.cc b/components/web_cache/renderer/web_cache_impl.cc
index 8743b9d24b27616ed563d312f79eaf70df0fefae..dfe8e7e0bf58bafb9ff36726802e63fb758e4adc 100644
--- a/components/web_cache/renderer/web_cache_impl.cc
+++ b/components/web_cache/renderer/web_cache_impl.cc
@@ -8,16 +8,16 @@
#include "base/bind.h"
#include "base/numerics/safe_conversions.h"
-#include "content/public/common/service_registry.h"
#include "content/public/renderer/render_thread.h"
+#include "services/shell/public/cpp/interface_registry.h"
#include "third_party/WebKit/public/web/WebCache.h"
namespace web_cache {
WebCacheImpl::WebCacheImpl() : clear_cache_state_(kInit) {
- content::ServiceRegistry* service_registry =
- content::RenderThread::Get()->GetServiceRegistry();
- service_registry->AddService(
+ shell::InterfaceRegistry* registry =
+ content::RenderThread::Get()->GetInterfaceRegistry();
+ registry->AddInterface(
base::Bind(&WebCacheImpl::BindRequest, base::Unretained(this)));
}
« no previous file with comments | « components/web_cache/renderer/DEPS ('k') | content/browser/android/service_registry_android_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698