Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: media/filters/file_data_source.h

Issue 8936014: Removing DataSource from Filter hierarchy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved preload into a separate file. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/file_data_source.h
diff --git a/media/filters/file_data_source.h b/media/filters/file_data_source.h
index 0a2685580ce81d3b3643ce569e151e6b5e99b179..0b94c638284ba9cc61c597dadce24acefc67de40 100644
--- a/media/filters/file_data_source.h
+++ b/media/filters/file_data_source.h
@@ -9,7 +9,7 @@
#include "base/gtest_prod_util.h"
#include "base/synchronization/lock.h"
-#include "media/base/filters.h"
+#include "media/base/data_source.h"
namespace media {
@@ -23,11 +23,9 @@ class MEDIA_EXPORT FileDataSource : public DataSource {
PipelineStatus Initialize(const std::string& url);
- // Implementation of Filter.
- virtual void set_host(FilterHost* filter_host) OVERRIDE;
- virtual void Stop(const base::Closure& callback) OVERRIDE;
-
// Implementation of DataSource.
+ virtual void set_host(DataSourceHost* host) OVERRIDE;
+ virtual void Stop(const base::Closure& callback) OVERRIDE;
virtual void Read(int64 position, size_t size, uint8* data,
const DataSource::ReadCallback& read_callback) OVERRIDE;
virtual bool GetSize(int64* size_out) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698