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

Side by Side Diff: media/base/android/media_decoder_job.cc

Issue 534063002: Remove OnMediaResourcesReleased callback passed to MediaPlayerAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/android/media_decoder_job.h" 5 #include "media/base/android/media_decoder_job.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 if (!AreDemuxerConfigsChanged(configs)) 640 if (!AreDemuxerConfigsChanged(configs))
641 return false; 641 return false;
642 return true; 642 return true;
643 } 643 }
644 644
645 void MediaDecoderJob::ReleaseMediaCodecBridge() { 645 void MediaDecoderJob::ReleaseMediaCodecBridge() {
646 if (!media_codec_bridge_) 646 if (!media_codec_bridge_)
647 return; 647 return;
648 648
649 media_codec_bridge_.reset(); 649 media_codec_bridge_.reset();
650 OnMediaCodecBridgeReleased();
651 } 650 }
652 651
653 } // namespace media 652 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698