| 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_MEDIA_SERVICE_FACTORY_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MEDIA_SERVICE_FACTORY_H_ |
| 6 #define MEDIA_MOJO_SERVICES_MEDIA_SERVICE_FACTORY_H_ | 6 #define MEDIA_MOJO_SERVICES_MEDIA_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 CreateGpuMediaService( | 30 CreateGpuMediaService( |
| 31 scoped_refptr<base::SingleThreadTaskRunner> task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
| 32 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager); | 32 base::WeakPtr<MediaGpuChannelManager> media_gpu_channel_manager); |
| 33 | 33 |
| 34 // Creates a MediaService instance using the TestMojoMediaClient. | 34 // Creates a MediaService instance using the TestMojoMediaClient. |
| 35 std::unique_ptr<service_manager::Service> MEDIA_MOJO_EXPORT | 35 std::unique_ptr<service_manager::Service> MEDIA_MOJO_EXPORT |
| 36 CreateMediaServiceForTesting(); | 36 CreateMediaServiceForTesting(); |
| 37 | 37 |
| 38 // Creates a MediaService instance using the UtilityMojoMediaClient. | 38 // Creates a MediaService instance using the UtilityMojoMediaClient. |
| 39 std::unique_ptr<service_manager::Service> MEDIA_MOJO_EXPORT | 39 std::unique_ptr<service_manager::Service> MEDIA_MOJO_EXPORT |
| 40 CreateUtilityMediaService(); | 40 CreateUtilityMediaService( |
| 41 scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
| 41 | 42 |
| 42 } // namespace media | 43 } // namespace media |
| 43 | 44 |
| 44 #endif // MEDIA_MOJO_SERVICES_MEDIA_SERVICE_FACTORY_H_ | 45 #endif // MEDIA_MOJO_SERVICES_MEDIA_SERVICE_FACTORY_H_ |
| OLD | NEW |