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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "media/base/seekable_buffer.h" | 13 #include "media/base/seekable_buffer.h" |
13 #include "media/blink/active_loader.h" | 14 #include "media/blink/active_loader.h" |
14 #include "media/blink/media_blink_export.h" | 15 #include "media/blink/media_blink_export.h" |
15 #include "media/blink/url_index.h" // for kPositionNotSpecified | 16 #include "media/blink/url_index.h" // for kPositionNotSpecified |
16 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 17 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
17 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 18 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
18 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 19 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
19 #include "third_party/WebKit/public/web/WebFrame.h" | 20 #include "third_party/WebKit/public/web/WebFrame.h" |
20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 scoped_refptr<MediaLog> media_log_; | 330 scoped_refptr<MediaLog> media_log_; |
330 | 331 |
331 bool cancel_upon_deferral_; | 332 bool cancel_upon_deferral_; |
332 | 333 |
333 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); | 334 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); |
334 }; | 335 }; |
335 | 336 |
336 } // namespace media | 337 } // namespace media |
337 | 338 |
338 #endif // MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ | 339 #endif // MEDIA_BLINK_BUFFERED_RESOURCE_LOADER_H_ |
OLD | NEW |