| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ | 5 #ifndef MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ |
| 6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ | 6 #define MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 10 #include "media/blink/buffered_data_source.h" | 12 #include "media/blink/buffered_data_source.h" |
| 11 #include "media/blink/media_blink_export.h" | 13 #include "media/blink/media_blink_export.h" |
| 12 | 14 |
| 13 namespace media { | 15 namespace media { |
| 14 | 16 |
| 15 // Provides an implementation of BufferedDataSourceHost that translates the | 17 // Provides an implementation of BufferedDataSourceHost that translates the |
| 16 // buffered byte ranges into estimated time ranges. | 18 // buffered byte ranges into estimated time ranges. |
| 17 class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl | 19 class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 // True when AddBufferedByteRange() has been called more recently than | 45 // True when AddBufferedByteRange() has been called more recently than |
| 44 // DidLoadingProgress(). | 46 // DidLoadingProgress(). |
| 45 bool did_loading_progress_; | 47 bool did_loading_progress_; |
| 46 | 48 |
| 47 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl); | 49 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl); |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace media | 52 } // namespace media |
| 51 | 53 |
| 52 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ | 54 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ |
| OLD | NEW |