| 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 "base/macros.h" |
| 8 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 9 #include "media/blink/buffered_data_source.h" | 10 #include "media/blink/buffered_data_source.h" |
| 10 #include "media/blink/media_blink_export.h" | 11 #include "media/blink/media_blink_export.h" |
| 11 | 12 |
| 12 namespace media { | 13 namespace media { |
| 13 | 14 |
| 14 // Provides an implementation of BufferedDataSourceHost that translates the | 15 // Provides an implementation of BufferedDataSourceHost that translates the |
| 15 // buffered byte ranges into estimated time ranges. | 16 // buffered byte ranges into estimated time ranges. |
| 16 class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl | 17 class MEDIA_BLINK_EXPORT BufferedDataSourceHostImpl |
| 17 : public BufferedDataSourceHost { | 18 : public BufferedDataSourceHost { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 42 // True when AddBufferedByteRange() has been called more recently than | 43 // True when AddBufferedByteRange() has been called more recently than |
| 43 // DidLoadingProgress(). | 44 // DidLoadingProgress(). |
| 44 bool did_loading_progress_; | 45 bool did_loading_progress_; |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl); | 47 DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace media | 50 } // namespace media |
| 50 | 51 |
| 51 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ | 52 #endif // MEDIA_BLINK_BUFFERED_DATA_SOURCE_HOST_IMPL_H_ |
| OLD | NEW |