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

Unified Diff: media/mojo/services/mojo_media_client.h

Issue 2295403002: Destroy MojoMediaClient in MojoMediaApplication::OnStop(). (Closed)
Patch Set: ignore request if stopped Created 4 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/mojo/services/mojo_media_application.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_media_client.h
diff --git a/media/mojo/services/mojo_media_client.h b/media/mojo/services/mojo_media_client.h
index caf813edbb593eb23d23dc9046c141947930d256..f07d4c4f461ae71b779677ec67149f79a127c1c1 100644
--- a/media/mojo/services/mojo_media_client.h
+++ b/media/mojo/services/mojo_media_client.h
@@ -33,16 +33,14 @@ class VideoRendererSink;
class MEDIA_MOJO_EXPORT MojoMediaClient {
public:
+ // Called before the host application is scheduled to quit.
+ // The application message loop is still valid at this point, so all clean
+ // up tasks requiring the message loop must be completed before returning.
virtual ~MojoMediaClient();
// Called exactly once before any other method.
virtual void Initialize();
- // Called before the host application is scheduled to quit.
- // The application message loop is still valid at this point, so all clean
- // up tasks requiring the message loop must be completed before returning.
- virtual void WillQuit();
-
virtual std::unique_ptr<AudioDecoder> CreateAudioDecoder(
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
« no previous file with comments | « media/mojo/services/mojo_media_application.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698