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

Unified Diff: trunk/src/media/filters/file_data_source.cc

Issue 421843004: Revert 285479 "Make DataSource::Stop() synchronous." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | « trunk/src/media/filters/file_data_source.h ('k') | trunk/src/media/filters/file_data_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/filters/file_data_source.cc
===================================================================
--- trunk/src/media/filters/file_data_source.cc (revision 285857)
+++ trunk/src/media/filters/file_data_source.cc (working copy)
@@ -26,7 +26,8 @@
return file_.Initialize(file_path);
}
-void FileDataSource::Stop() {
+void FileDataSource::Stop(const base::Closure& callback) {
+ callback.Run();
}
void FileDataSource::Read(int64 position, int size, uint8* data,
« no previous file with comments | « trunk/src/media/filters/file_data_source.h ('k') | trunk/src/media/filters/file_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698