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

Side by Side Diff: media/mojo/services/mojo_media_application_factory.cc

Issue 2434673002: media: Rename MojoMediaApplication to MediaService (Closed)
Patch Set: media: Rename MojoMediaApplication to MediaService 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 unified diff | Download patch
« no previous file with comments | « media/mojo/services/mojo_media_application_factory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/mojo/services/mojo_media_application_factory.h"
6
7 #include "base/memory/ptr_util.h"
8 #include "media/mojo/services/mojo_media_application.h"
9
10 #if defined(OS_ANDROID)
11 #include "media/mojo/services/android_mojo_media_client.h" // nogncheck
12 using DefaultClient = media::AndroidMojoMediaClient;
13 #else
14 #include "media/mojo/services/default_mojo_media_client.h" // nogncheck
15 using DefaultClient = media::DefaultMojoMediaClient;
16 #endif
17
18 namespace media {
19
20 // static
21 std::unique_ptr<service_manager::Service> CreateMojoMediaApplication(
22 const base::Closure& quit_closure) {
23 return std::unique_ptr<service_manager::Service>(new MojoMediaApplication(
24 base::MakeUnique<DefaultClient>(), quit_closure));
25 }
26
27 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_application_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698