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

Unified Diff: content/gpu/gpu_service_factory.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . 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 | « content/gpu/gpu_child_thread.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_service_factory.cc
diff --git a/content/gpu/gpu_service_factory.cc b/content/gpu/gpu_service_factory.cc
index ffe957efe0a2f988eea112fbd26293392768de2c..10dd6a2e67c1c5d6b4cc83d655dfd3d5cd24e243 100644
--- a/content/gpu/gpu_service_factory.cc
+++ b/content/gpu/gpu_service_factory.cc
@@ -18,11 +18,10 @@ GpuServiceFactory::~GpuServiceFactory() {}
void GpuServiceFactory::RegisterServices(ServiceMap* services) {
#if defined(ENABLE_MOJO_MEDIA_IN_GPU_PROCESS)
- MojoApplicationInfo service_info;
- service_info.application_factory =
- base::Bind(&media::CreateMojoMediaApplication);
- service_info.use_own_thread = true;
- services->insert(std::make_pair("service:media", service_info));
+ ServiceInfo info;
+ info.factory = base::Bind(&media::CreateMojoMediaApplication);
+ info.use_own_thread = true;
+ services->insert(std::make_pair("service:media", info));
#endif
}
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698