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

Unified Diff: media/mojo/services/media_service.cc

Issue 2444623002: media: Rename ServiceFactory to InterfaceFactory (Closed)
Patch Set: media: Rename ServiceFactory to InterfaceFactory Created 4 years, 2 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 | « media/mojo/services/media_service.h ('k') | media/mojo/services/service_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_service.cc
diff --git a/media/mojo/services/media_service.cc b/media/mojo/services/media_service.cc
index 1209a5f3343ab5873813ba86f23f513ab5e2fb47..27007a56138d456a6a3108aa15a0d3749296f5a8 100644
--- a/media/mojo/services/media_service.cc
+++ b/media/mojo/services/media_service.cc
@@ -7,8 +7,8 @@
#include <utility>
#include "media/base/media_log.h"
+#include "media/mojo/services/interface_factory_impl.h"
#include "media/mojo/services/mojo_media_client.h"
-#include "media/mojo/services/service_factory_impl.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/service_manager/public/cpp/connection.h"
#include "services/service_manager/public/cpp/connector.h"
@@ -46,17 +46,17 @@ void MediaService::Create(const service_manager::Identity& remote_identity,
bindings_.AddBinding(this, std::move(request));
}
-void MediaService::CreateServiceFactory(
- mojom::ServiceFactoryRequest request,
+void MediaService::CreateInterfaceFactory(
+ mojom::InterfaceFactoryRequest request,
service_manager::mojom::InterfaceProviderPtr remote_interfaces) {
// Ignore request if service has already stopped.
if (!mojo_media_client_)
return;
mojo::MakeStrongBinding(
- base::MakeUnique<ServiceFactoryImpl>(std::move(remote_interfaces),
- media_log_, ref_factory_.CreateRef(),
- mojo_media_client_.get()),
+ base::MakeUnique<InterfaceFactoryImpl>(
+ std::move(remote_interfaces), media_log_, ref_factory_.CreateRef(),
+ mojo_media_client_.get()),
std::move(request));
}
« no previous file with comments | « media/mojo/services/media_service.h ('k') | media/mojo/services/service_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698