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