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 CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ | 5 #ifndef CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ |
6 #define CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ | 6 #define CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
| 9 #include <string> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "chromecast/public/media/media_pipeline_backend.h" | 12 #include "chromecast/public/media/media_pipeline_backend.h" |
12 #include "chromecast/public/media/media_pipeline_device_params.h" | 13 #include "chromecast/public/media/media_pipeline_device_params.h" |
13 | 14 |
14 namespace chromecast { | 15 namespace chromecast { |
15 namespace media { | 16 namespace media { |
16 | 17 |
17 typedef base::Callback<std::unique_ptr<MediaPipelineBackend>( | 18 typedef base::Callback<std::unique_ptr<MediaPipelineBackend>( |
18 const MediaPipelineDeviceParams&)> | 19 const MediaPipelineDeviceParams&, |
19 CreateMediaPipelineBackendCB; | 20 const std::string& audio_device_id)> CreateMediaPipelineBackendCB; |
20 | 21 |
21 } // media | 22 } // media |
22 } // chromecast | 23 } // chromecast |
23 | 24 |
24 #endif // CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ | 25 #endif // CHROMECAST_BROWSER_MEDIA_MEDIA_PIPELINE_BACKEND_FACTORY_H_ |
OLD | NEW |