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

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

Issue 1165333003: Remove unnecessary message_loop_proxy.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 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
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/midi/midi_manager.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 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/filters/fake_video_decoder.h" 5 #include "media/filters/fake_video_decoder.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/message_loop/message_loop_proxy.h"
9 #include "media/base/bind_to_current_loop.h" 8 #include "media/base/bind_to_current_loop.h"
10 #include "media/base/test_helpers.h" 9 #include "media/base/test_helpers.h"
11 10
12 namespace media { 11 namespace media {
13 12
14 FakeVideoDecoder::FakeVideoDecoder(int decoding_delay, 13 FakeVideoDecoder::FakeVideoDecoder(int decoding_delay,
15 int max_parallel_decoding_requests, 14 int max_parallel_decoding_requests,
16 const BytesDecodedCB& bytes_decoded_cb) 15 const BytesDecodedCB& bytes_decoded_cb)
17 : decoding_delay_(decoding_delay), 16 : decoding_delay_(decoding_delay),
18 max_parallel_decoding_requests_(max_parallel_decoding_requests), 17 max_parallel_decoding_requests_(max_parallel_decoding_requests),
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 251
253 void FakeVideoDecoder::DoReset() { 252 void FakeVideoDecoder::DoReset() {
254 DCHECK(thread_checker_.CalledOnValidThread()); 253 DCHECK(thread_checker_.CalledOnValidThread());
255 DCHECK(held_decode_callbacks_.empty()); 254 DCHECK(held_decode_callbacks_.empty());
256 DCHECK(!reset_cb_.IsNull()); 255 DCHECK(!reset_cb_.IsNull());
257 256
258 reset_cb_.RunOrHold(); 257 reset_cb_.RunOrHold();
259 } 258 }
260 259
261 } // namespace media 260 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/chunk_demuxer.cc ('k') | media/midi/midi_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698