OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEMUXER_H_ | 5 #ifndef MEDIA_BASE_DEMUXER_H_ |
6 #define MEDIA_BASE_DEMUXER_H_ | 6 #define MEDIA_BASE_DEMUXER_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time/time.h" |
9 #include "media/base/data_source.h" | 9 #include "media/base/data_source.h" |
10 #include "media/base/demuxer_stream.h" | 10 #include "media/base/demuxer_stream.h" |
11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
12 #include "media/base/pipeline_status.h" | 12 #include "media/base/pipeline_status.h" |
13 | 13 |
14 namespace media { | 14 namespace media { |
15 | 15 |
16 class MEDIA_EXPORT DemuxerHost : public DataSourceHost { | 16 class MEDIA_EXPORT DemuxerHost : public DataSourceHost { |
17 public: | 17 public: |
18 // Sets the duration of the media in microseconds. | 18 // Sets the duration of the media in microseconds. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // Returns the starting time for the media file. | 65 // Returns the starting time for the media file. |
66 virtual base::TimeDelta GetStartTime() const = 0; | 66 virtual base::TimeDelta GetStartTime() const = 0; |
67 | 67 |
68 private: | 68 private: |
69 DISALLOW_COPY_AND_ASSIGN(Demuxer); | 69 DISALLOW_COPY_AND_ASSIGN(Demuxer); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace media | 72 } // namespace media |
73 | 73 |
74 #endif // MEDIA_BASE_DEMUXER_H_ | 74 #endif // MEDIA_BASE_DEMUXER_H_ |
OLD | NEW |