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

Unified Diff: chrome/gpu/chrome_content_gpu_client.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 | « chrome/gpu/chrome_content_gpu_client.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/chrome_content_gpu_client.cc
diff --git a/chrome/gpu/chrome_content_gpu_client.cc b/chrome/gpu/chrome_content_gpu_client.cc
index 9b007750747d7dd721d48c5201a6638c0d34c3d2..a061fc3914e07e8bece856133135ac14b235465e 100644
--- a/chrome/gpu/chrome_content_gpu_client.cc
+++ b/chrome/gpu/chrome_content_gpu_client.cc
@@ -5,7 +5,7 @@
#include "chrome/gpu/chrome_content_gpu_client.h"
#include "base/command_line.h"
-#include "content/public/common/service_registry.h"
+#include "services/shell/public/cpp/interface_registry.h"
#if defined(OS_CHROMEOS)
#include "chrome/gpu/gpu_arc_video_service.h"
@@ -31,10 +31,10 @@ ChromeContentGpuClient::ChromeContentGpuClient() {}
ChromeContentGpuClient::~ChromeContentGpuClient() {}
-void ChromeContentGpuClient::RegisterMojoServices(
- content::ServiceRegistry* registry) {
+void ChromeContentGpuClient::RegisterMojoInterfaces(
+ shell::InterfaceRegistry* registry) {
#if defined(OS_CHROMEOS)
- registry->AddService(base::Bind(&CreateGpuArcVideoService));
+ registry->AddInterface(base::Bind(&CreateGpuArcVideoService));
#endif
}
« no previous file with comments | « chrome/gpu/chrome_content_gpu_client.h ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698