OLD | NEW |
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 "media/mojo/services/media_mojo_export.h" |
12 #include "services/service_manager/public/cpp/service.h" | 12 #include "services/service_manager/public/cpp/service.h" |
13 | 13 |
14 namespace media { | 14 namespace media { |
15 | 15 |
16 // Creates a MojoMediaApplication instance using the default MojoMediaClient. | 16 // Creates a MojoMediaApplication instance using the default MojoMediaClient. |
17 std::unique_ptr<shell::Service> MEDIA_MOJO_EXPORT | 17 std::unique_ptr<service_manager::Service> MEDIA_MOJO_EXPORT |
18 CreateMojoMediaApplication(const base::Closure& quit_closure); | 18 CreateMojoMediaApplication(const base::Closure& quit_closure); |
19 | 19 |
20 } // namespace media | 20 } // namespace media |
21 | 21 |
22 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ | 22 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ |
OLD | NEW |