Index: media/blink/buffered_data_source_host_impl.cc |
diff --git a/content/renderer/media/buffered_data_source_host_impl.cc b/media/blink/buffered_data_source_host_impl.cc |
similarity index 86% |
rename from content/renderer/media/buffered_data_source_host_impl.cc |
rename to media/blink/buffered_data_source_host_impl.cc |
index 3ffee07481a2fce055ff7c41cbcdc79954315750..42f9822dab7d7642eaefb25c1b1cb8265430910e 100644 |
--- a/content/renderer/media/buffered_data_source_host_impl.cc |
+++ b/media/blink/buffered_data_source_host_impl.cc |
@@ -2,9 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/renderer/media/buffered_data_source_host_impl.h" |
+#include "media/blink/buffered_data_source_host_impl.h" |
-namespace content { |
+namespace media { |
BufferedDataSourceHostImpl::BufferedDataSourceHostImpl() |
: total_bytes_(0), |
@@ -34,10 +34,10 @@ static base::TimeDelta TimeForByteOffset( |
} |
void BufferedDataSourceHostImpl::AddBufferedTimeRanges( |
- media::Ranges<base::TimeDelta>* buffered_time_ranges, |
+ Ranges<base::TimeDelta>* buffered_time_ranges, |
base::TimeDelta media_duration) const { |
- DCHECK(media_duration != media::kNoTimestamp()); |
- DCHECK(media_duration != media::kInfiniteDuration()); |
+ DCHECK(media_duration != kNoTimestamp()); |
+ DCHECK(media_duration != kInfiniteDuration()); |
if (total_bytes_ && buffered_byte_ranges_.size()) { |
for (size_t i = 0; i < buffered_byte_ranges_.size(); ++i) { |
int64 start = buffered_byte_ranges_.start(i); |
@@ -55,4 +55,4 @@ bool BufferedDataSourceHostImpl::DidLoadingProgress() { |
return ret; |
} |
-} // namespace content |
+} // namespace media |