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

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

Issue 1968833002: media: Make media mojo services a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn tweak Created 4 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "media/mojo/services/media_mojo_export.h"
11 #include "services/shell/public/cpp/shell_client.h" 12 #include "services/shell/public/cpp/shell_client.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 // Creates a MojoMediaApplication instance using the default MojoMediaClient. 16 // Creates a MojoMediaApplication instance using the default MojoMediaClient.
16 std::unique_ptr<shell::ShellClient> CreateMojoMediaApplication( 17 std::unique_ptr<shell::ShellClient> MEDIA_MOJO_EXPORT
17 const base::Closure& quit_closure); 18 CreateMojoMediaApplication(const base::Closure& quit_closure);
18 19
19 } // namespace media 20 } // namespace media
20 21
21 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 22 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698