Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // The pipeline is the public API clients use for playing back media. Clients | 5 // The pipeline is the public API clients use for playing back media. Clients |
| 6 // provide a filter collection containing the filters they want the pipeline to | 6 // provide a filter collection containing the filters they want the pipeline to |
| 7 // use to render media. | 7 // use to render media. |
| 8 | 8 |
| 9 #ifndef MEDIA_BASE_PIPELINE_H_ | 9 #ifndef MEDIA_BASE_PIPELINE_H_ |
| 10 #define MEDIA_BASE_PIPELINE_H_ | 10 #define MEDIA_BASE_PIPELINE_H_ |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "media/base/filters.h" | 14 #include "media/base/data_source.h" |
|
Ami GONE FROM CHROMIUM
2011/12/15 18:39:08
Why?
acolwell GONE FROM CHROMIUM
2011/12/15 20:57:59
Needed for SetPreroll(). :/ more fuel for Preroll
| |
| 15 #include "media/base/pipeline_status.h" | 15 #include "media/base/pipeline_status.h" |
| 16 #include "ui/gfx/size.h" | |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class TimeDelta; | 19 class TimeDelta; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace media { | 22 namespace media { |
| 22 | 23 |
| 23 struct PipelineStatistics { | 24 struct PipelineStatistics { |
| 24 PipelineStatistics() : | 25 PipelineStatistics() : |
| 25 audio_bytes_decoded(0), | 26 audio_bytes_decoded(0), |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 172 | 173 |
| 173 protected: | 174 protected: |
| 174 // Only allow ourselves to be deleted by reference counting. | 175 // Only allow ourselves to be deleted by reference counting. |
| 175 friend class base::RefCountedThreadSafe<Pipeline>; | 176 friend class base::RefCountedThreadSafe<Pipeline>; |
| 176 virtual ~Pipeline() {} | 177 virtual ~Pipeline() {} |
| 177 }; | 178 }; |
| 178 | 179 |
| 179 } // namespace media | 180 } // namespace media |
| 180 | 181 |
| 181 #endif // MEDIA_BASE_PIPELINE_H_ | 182 #endif // MEDIA_BASE_PIPELINE_H_ |
| OLD | NEW |