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_FILTERS_BLOCKING_URL_PROTOCOL_H_ | 5 #ifndef MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_ |
6 #define MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_ | 6 #define MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
11 #include "media/filters/ffmpeg_glue.h" | 13 #include "media/filters/ffmpeg_glue.h" |
12 | 14 |
13 namespace media { | 15 namespace media { |
14 | 16 |
15 class DataSource; | 17 class DataSource; |
16 | 18 |
17 // An implementation of FFmpegURLProtocol that blocks until the underlying | 19 // An implementation of FFmpegURLProtocol that blocks until the underlying |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 56 |
55 // Cached position within the data source. | 57 // Cached position within the data source. |
56 int64_t read_position_; | 58 int64_t read_position_; |
57 | 59 |
58 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockingUrlProtocol); | 60 DISALLOW_IMPLICIT_CONSTRUCTORS(BlockingUrlProtocol); |
59 }; | 61 }; |
60 | 62 |
61 } // namespace media | 63 } // namespace media |
62 | 64 |
63 #endif // MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_ | 65 #endif // MEDIA_FILTERS_BLOCKING_URL_PROTOCOL_H_ |
OLD | NEW |