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

Unified Diff: media/base/data_source.h

Issue 435023002: Revert "Revert 285479 "Make DataSource::Stop() synchronous."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: media/base/data_source.h
diff --git a/media/base/data_source.h b/media/base/data_source.h
index dca1dd30dad48ba407e5f5b432f0b2271cd0b202..e0b73738a7eb4d2ec5f5893f54fc0d432436735f 100644
--- a/media/base/data_source.h
+++ b/media/base/data_source.h
@@ -28,7 +28,7 @@ class MEDIA_EXPORT DataSource {
// Stops the DataSource. Once this is called all future Read() calls will
// return an error.
- virtual void Stop(const base::Closure& callback) = 0;
+ virtual void Stop() = 0;
// Returns true and the file size, false if the file size could not be
// retrieved.
« no previous file with comments | « content/renderer/media/buffered_data_source_unittest.cc ('k') | media/filters/blocking_url_protocol_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698