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

Unified Diff: media/filters/file_data_source_factory.cc

Issue 6686061: PipelineError is dead. Long live PipelineStatus! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to 2nd CR Created 9 years, 9 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/filters/file_data_source.cc ('k') | media/tools/player_wtl/movie.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/file_data_source_factory.cc
diff --git a/media/filters/file_data_source_factory.cc b/media/filters/file_data_source_factory.cc
index 80642fbb91ef29e413778b3c9e5800a6353344b7..823fa019eddd8a08a223c14108ecf9abf0769dbc 100644
--- a/media/filters/file_data_source_factory.cc
+++ b/media/filters/file_data_source_factory.cc
@@ -26,10 +26,10 @@ void FileDataSourceFactory::Build(const std::string& url,
scoped_refptr<FileDataSource> file_data_source = new FileDataSource();
- PipelineError error = file_data_source->Initialize(url);
+ PipelineStatus status = file_data_source->Initialize(url);
DataSource* data_source =
- (error == PIPELINE_OK) ? file_data_source.get() : NULL;
- callback->Run(error, data_source);
+ (status == PIPELINE_OK) ? file_data_source.get() : NULL;
+ callback->Run(status, data_source);
delete callback;
}
« no previous file with comments | « media/filters/file_data_source.cc ('k') | media/tools/player_wtl/movie.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698