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

Unified Diff: media/base/demuxer.h

Issue 416393003: Make Demuxer::Stop() synchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 6 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 | « content/renderer/media/android/media_source_delegate.cc ('k') | media/base/demuxer_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index c6b2515f178cbf883f7bde39df3dd2850145ca3e..4e0891f11906293b0dc5a06a5a9f9ab07f31e843 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -72,11 +72,11 @@ class MEDIA_EXPORT Demuxer {
virtual void Seek(base::TimeDelta time,
const PipelineStatusCB& status_cb) = 0;
- // Starts stopping this demuxer, executing the callback upon completion.
+ // Stops this demuxer.
//
- // After the callback completes the demuxer may be destroyed. It is illegal to
- // call any method (including Stop()) after a demuxer has stopped.
- virtual void Stop(const base::Closure& callback) = 0;
+ // After this call the demuxer may be destroyed. It is illegal to call any
+ // method (including Stop()) after a demuxer has stopped.
+ virtual void Stop() = 0;
// Returns the first stream of the given stream type (which is not allowed
// to be DemuxerStream::TEXT), or NULL if that type of stream is not present.
« no previous file with comments | « content/renderer/media/android/media_source_delegate.cc ('k') | media/base/demuxer_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698