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

Unified Diff: media/test/pipeline_integration_test.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/test_manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/pipeline_integration_test.cc
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc
index 24895905b07e2ec73d04a1e7d642b297571770cd..cdc3b445cd734eb7715ab86a7d6e08d186b8013a 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -38,8 +38,8 @@
#if defined(MOJO_RENDERER)
#include "media/mojo/clients/mojo_renderer.h"
+#include "media/mojo/interfaces/interface_factory.mojom.h"
#include "media/mojo/interfaces/renderer.mojom.h"
-#include "media/mojo/interfaces/service_factory.mojom.h"
#include "services/service_manager/public/cpp/connect.h"
#include "services/service_manager/public/cpp/service_test.h"
@@ -689,18 +689,18 @@ class PipelineIntegrationTestHost : public service_manager::test::ServiceTest,
protected:
std::unique_ptr<Renderer> CreateRenderer() override {
- connector()->ConnectToInterface("service:media", &media_service_factory_);
+ connector()->ConnectToInterface("service:media", &media_interface_factory_);
mojom::RendererPtr mojo_renderer;
- media_service_factory_->CreateRenderer(std::string(),
- mojo::GetProxy(&mojo_renderer));
+ media_interface_factory_->CreateRenderer(std::string(),
+ mojo::GetProxy(&mojo_renderer));
return base::MakeUnique<MojoRenderer>(message_loop_.task_runner(),
std::move(mojo_renderer));
}
private:
- mojom::ServiceFactoryPtr media_service_factory_;
+ mojom::InterfaceFactoryPtr media_interface_factory_;
};
#else
class PipelineIntegrationTestHost : public testing::Test,
« no previous file with comments | « media/mojo/services/test_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698