| OLD | NEW | 
|    1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2010 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_ | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|   26   PIPELINE_ERROR_URL_NOT_FOUND, |   26   PIPELINE_ERROR_URL_NOT_FOUND, | 
|   27   PIPELINE_ERROR_NETWORK, |   27   PIPELINE_ERROR_NETWORK, | 
|   28   PIPELINE_ERROR_DECODE, |   28   PIPELINE_ERROR_DECODE, | 
|   29   PIPELINE_ERROR_ABORT, |   29   PIPELINE_ERROR_ABORT, | 
|   30   PIPELINE_ERROR_INITIALIZATION_FAILED, |   30   PIPELINE_ERROR_INITIALIZATION_FAILED, | 
|   31   PIPELINE_ERROR_REQUIRED_FILTER_MISSING, |   31   PIPELINE_ERROR_REQUIRED_FILTER_MISSING, | 
|   32   PIPELINE_ERROR_OUT_OF_MEMORY, |   32   PIPELINE_ERROR_OUT_OF_MEMORY, | 
|   33   PIPELINE_ERROR_COULD_NOT_RENDER, |   33   PIPELINE_ERROR_COULD_NOT_RENDER, | 
|   34   PIPELINE_ERROR_READ, |   34   PIPELINE_ERROR_READ, | 
|   35   PIPELINE_ERROR_AUDIO_HARDWARE, |   35   PIPELINE_ERROR_AUDIO_HARDWARE, | 
|   36   PIPELINE_ERROR_OPERATION_PENDING, |  | 
|   37   PIPELINE_ERROR_INVALID_STATE, |  | 
|   38   // Demuxer related errors. |   36   // Demuxer related errors. | 
|   39   DEMUXER_ERROR_COULD_NOT_OPEN, |   37   DEMUXER_ERROR_COULD_NOT_OPEN, | 
|   40   DEMUXER_ERROR_COULD_NOT_PARSE, |   38   DEMUXER_ERROR_COULD_NOT_PARSE, | 
|   41   DEMUXER_ERROR_NO_SUPPORTED_STREAMS, |   39   DEMUXER_ERROR_NO_SUPPORTED_STREAMS, | 
|   42   DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, |   40   DEMUXER_ERROR_COULD_NOT_CREATE_THREAD, | 
|   43 }; |   41 }; | 
|   44  |   42  | 
|   45 class FilterCollection; |   43 class FilterCollection; | 
|   46  |   44  | 
|   47 // Client-provided callbacks for various pipeline operations.  Clients should |   45 // Client-provided callbacks for various pipeline operations.  Clients should | 
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  174  |  172  | 
|  175  protected: |  173  protected: | 
|  176   // Only allow ourselves to be deleted by reference counting. |  174   // Only allow ourselves to be deleted by reference counting. | 
|  177   friend class base::RefCountedThreadSafe<Pipeline>; |  175   friend class base::RefCountedThreadSafe<Pipeline>; | 
|  178   virtual ~Pipeline() {} |  176   virtual ~Pipeline() {} | 
|  179 }; |  177 }; | 
|  180  |  178  | 
|  181 }  // namespace media |  179 }  // namespace media | 
|  182  |  180  | 
|  183 #endif  // MEDIA_BASE_PIPELINE_H_ |  181 #endif  // MEDIA_BASE_PIPELINE_H_ | 
| OLD | NEW |