| 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 WEBKIT_RENDERER_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 5 #ifndef WEBKIT_RENDERER_MEDIA_BUFFERED_RESOURCE_LOADER_H_ |
| 6 #define WEBKIT_RENDERER_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 6 #define WEBKIT_RENDERER_MEDIA_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/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "googleurl/src/gurl.h" | |
| 14 #include "media/base/seekable_buffer.h" | 13 #include "media/base/seekable_buffer.h" |
| 15 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 14 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
| 16 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 15 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
| 17 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 16 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 18 #include "third_party/WebKit/public/web/WebFrame.h" | 17 #include "third_party/WebKit/public/web/WebFrame.h" |
| 18 #include "url/gurl.h" |
| 19 #include "webkit/renderer/media/active_loader.h" | 19 #include "webkit/renderer/media/active_loader.h" |
| 20 | 20 |
| 21 namespace media { | 21 namespace media { |
| 22 class MediaLog; | 22 class MediaLog; |
| 23 class SeekableBuffer; | 23 class SeekableBuffer; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace webkit_media { | 26 namespace webkit_media { |
| 27 | 27 |
| 28 const int64 kPositionNotSpecified = -1; | 28 const int64 kPositionNotSpecified = -1; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 float playback_rate_; | 322 float playback_rate_; |
| 323 | 323 |
| 324 scoped_refptr<media::MediaLog> media_log_; | 324 scoped_refptr<media::MediaLog> media_log_; |
| 325 | 325 |
| 326 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); | 326 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); |
| 327 }; | 327 }; |
| 328 | 328 |
| 329 } // namespace webkit_media | 329 } // namespace webkit_media |
| 330 | 330 |
| 331 #endif // WEBKIT_RENDERER_MEDIA_BUFFERED_RESOURCE_LOADER_H_ | 331 #endif // WEBKIT_RENDERER_MEDIA_BUFFERED_RESOURCE_LOADER_H_ |
| OLD | NEW |