| 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 #ifndef MEDIA_BASE_PIPELINE_STATUS_H_ | 5 #ifndef MEDIA_BASE_PIPELINE_STATUS_H_ |
| 6 #define MEDIA_BASE_PIPELINE_STATUS_H_ | 6 #define MEDIA_BASE_PIPELINE_STATUS_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/callback_old.h" | 9 #include "base/callback_old.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 PIPELINE_ERROR_COULD_NOT_RENDER, | 23 PIPELINE_ERROR_COULD_NOT_RENDER, |
| 24 PIPELINE_ERROR_READ, | 24 PIPELINE_ERROR_READ, |
| 25 PIPELINE_ERROR_AUDIO_HARDWARE, | 25 PIPELINE_ERROR_AUDIO_HARDWARE, |
| 26 PIPELINE_ERROR_OPERATION_PENDING, | 26 PIPELINE_ERROR_OPERATION_PENDING, |
| 27 PIPELINE_ERROR_INVALID_STATE, | 27 PIPELINE_ERROR_INVALID_STATE, |
| 28 // Demuxer related errors. | 28 // Demuxer related errors. |
| 29 DEMUXER_ERROR_COULD_NOT_OPEN, | 29 DEMUXER_ERROR_COULD_NOT_OPEN, |
| 30 DEMUXER_ERROR_COULD_NOT_PARSE, | 30 DEMUXER_ERROR_COULD_NOT_PARSE, |
| 31 DEMUXER_ERROR_NO_SUPPORTED_STREAMS, | 31 DEMUXER_ERROR_NO_SUPPORTED_STREAMS, |
| 32 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, | 32 DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, |
| 33 // Decoder related errors. |
| 34 DECODER_ERROR_NOT_SUPPORTED, |
| 33 // DataSourceFactory errors. | 35 // DataSourceFactory errors. |
| 34 DATASOURCE_ERROR_URL_NOT_SUPPORTED, | 36 DATASOURCE_ERROR_URL_NOT_SUPPORTED, |
| 35 }; | 37 }; |
| 36 | 38 |
| 37 typedef base::Callback<void(PipelineStatus)> PipelineStatusCB; | 39 typedef base::Callback<void(PipelineStatus)> PipelineStatusCB; |
| 38 | 40 |
| 39 } // namespace media | 41 } // namespace media |
| 40 | 42 |
| 41 #endif // MEDIA_BASE_PIPELINE_STATUS_H_ | 43 #endif // MEDIA_BASE_PIPELINE_STATUS_H_ |
| OLD | NEW |