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

Unified Diff: media/filters/file_data_source.h

Issue 20572004: Add media file validation to utility process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final nits Created 7 years, 4 months 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
« no previous file with comments | « media/base/media_file_checker_unittest.cc ('k') | media/filters/file_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/file_data_source.h
diff --git a/media/filters/file_data_source.h b/media/filters/file_data_source.h
index e55ecdf021adc78bee9d5c57738f7471e358eb3e..c0164dac5745ad4346083ecc2bc2c4224bb5ef60 100644
--- a/media/filters/file_data_source.h
+++ b/media/filters/file_data_source.h
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "base/files/memory_mapped_file.h"
+#include "base/platform_file.h"
#include "media/base/data_source.h"
namespace media {
@@ -21,6 +22,7 @@ class MEDIA_EXPORT FileDataSource : public DataSource {
virtual ~FileDataSource();
bool Initialize(const base::FilePath& file_path);
+ bool InitializeFromPlatformFile(const base::PlatformFile& file);
// Implementation of DataSource.
virtual void set_host(DataSourceHost* host) OVERRIDE;
« no previous file with comments | « media/base/media_file_checker_unittest.cc ('k') | media/filters/file_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698