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

Side by Side Diff: media/filters/audio_decoder_selector.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « media/base/serial_runner.cc ('k') | media/filters/audio_renderer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/filters/audio_decoder_selector.h" 5 #include "media/filters/audio_decoder_selector.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/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "media/base/audio_decoder_config.h" 11 #include "media/base/audio_decoder_config.h"
12 #include "media/base/bind_to_loop.h" 12 #include "media/base/bind_to_loop.h"
13 #include "media/base/demuxer_stream.h" 13 #include "media/base/demuxer_stream.h"
14 #include "media/base/pipeline.h" 14 #include "media/base/pipeline.h"
15 #include "media/filters/decrypting_audio_decoder.h" 15 #include "media/filters/decrypting_audio_decoder.h"
16 #include "media/filters/decrypting_demuxer_stream.h" 16 #include "media/filters/decrypting_demuxer_stream.h"
17 17
18 namespace media { 18 namespace media {
19 19
20 AudioDecoderSelector::AudioDecoderSelector( 20 AudioDecoderSelector::AudioDecoderSelector(
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 scoped_ptr<AudioDecoder> audio_decoder(*iter); 144 scoped_ptr<AudioDecoder> audio_decoder(*iter);
145 decoders_.weak_erase(iter); 145 decoders_.weak_erase(iter);
146 146
147 base::ResetAndReturn(&select_decoder_cb_).Run(audio_decoder.Pass(), 147 base::ResetAndReturn(&select_decoder_cb_).Run(audio_decoder.Pass(),
148 decrypted_stream_.Pass()); 148 decrypted_stream_.Pass());
149 } 149 }
150 150
151 } // namespace media 151 } // namespace media
OLDNEW
« no previous file with comments | « media/base/serial_runner.cc ('k') | media/filters/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698