OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RESOURCE_LOADER_H_ | 5 #ifndef MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ |
6 #define MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ | 6 #define MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "media/base/seekable_buffer.h" | 15 #include "media/base/seekable_buffer.h" |
14 #include "media/blink/active_loader.h" | 16 #include "media/blink/active_loader.h" |
15 #include "media/blink/media_blink_export.h" | 17 #include "media/blink/media_blink_export.h" |
16 #include "media/blink/url_index.h" // for kPositionNotSpecified | 18 #include "media/blink/url_index.h" // for kPositionNotSpecified |
17 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 19 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 scoped_refptr<MediaLog> media_log_; | 332 scoped_refptr<MediaLog> media_log_; |
331 | 333 |
332 bool cancel_upon_deferral_; | 334 bool cancel_upon_deferral_; |
333 | 335 |
334 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); | 336 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); |
335 }; | 337 }; |
336 | 338 |
337 } // namespace media | 339 } // namespace media |
338 | 340 |
339 #endif // MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ | 341 #endif // MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ |
OLD | NEW |