| 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_DATA_SOURCE_H_ | 5 #ifndef WEBKIT_RENDERER_MEDIA_BUFFERED_DATA_SOURCE_H_ |
| 6 #define WEBKIT_RENDERER_MEDIA_BUFFERED_DATA_SOURCE_H_ | 6 #define WEBKIT_RENDERER_MEDIA_BUFFERED_DATA_SOURCE_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/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
| 13 #include "googleurl/src/gurl.h" | |
| 14 #include "media/base/data_source.h" | 13 #include "media/base/data_source.h" |
| 15 #include "media/base/ranges.h" | 14 #include "media/base/ranges.h" |
| 15 #include "url/gurl.h" |
| 16 #include "webkit/renderer/media/buffered_resource_loader.h" | 16 #include "webkit/renderer/media/buffered_resource_loader.h" |
| 17 #include "webkit/renderer/media/preload.h" | 17 #include "webkit/renderer/media/preload.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class MessageLoopProxy; | 20 class MessageLoopProxy; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace media { | 23 namespace media { |
| 24 class MediaLog; | 24 class MediaLog; |
| 25 } | 25 } |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 scoped_refptr<media::MediaLog> media_log_; | 211 scoped_refptr<media::MediaLog> media_log_; |
| 212 | 212 |
| 213 DownloadingCB downloading_cb_; | 213 DownloadingCB downloading_cb_; |
| 214 | 214 |
| 215 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); | 215 DISALLOW_COPY_AND_ASSIGN(BufferedDataSource); |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 } // namespace webkit_media | 218 } // namespace webkit_media |
| 219 | 219 |
| 220 #endif // WEBKIT_RENDERER_MEDIA_BUFFERED_DATA_SOURCE_H_ | 220 #endif // WEBKIT_RENDERER_MEDIA_BUFFERED_DATA_SOURCE_H_ |
| OLD | NEW |