OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "media/blink/resource_multibuffer_data_provider.h" | 5 #include "media/blink/resource_multibuffer_data_provider.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bits.h" | 10 #include "base/bits.h" |
9 #include "base/callback_helpers.h" | 11 #include "base/callback_helpers.h" |
10 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
11 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
12 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
13 #include "media/blink/active_loader.h" | 15 #include "media/blink/active_loader.h" |
14 #include "media/blink/cache_util.h" | 16 #include "media/blink/cache_util.h" |
15 #include "media/blink/media_blink_export.h" | 17 #include "media/blink/media_blink_export.h" |
16 #include "media/blink/url_index.h" | 18 #include "media/blink/url_index.h" |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 } | 491 } |
490 | 492 |
491 if (byte_pos() != first_byte_position) { | 493 if (byte_pos() != first_byte_position) { |
492 return false; | 494 return false; |
493 } | 495 } |
494 | 496 |
495 return true; | 497 return true; |
496 } | 498 } |
497 | 499 |
498 } // namespace media | 500 } // namespace media |
OLD | NEW |