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

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

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/decrypting_video_decoder.cc ('k') | media/filters/ffmpeg_audio_decoder.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/bind.h"
8 #include "base/callback_helpers.h"
9 #include "base/location.h" 7 #include "base/location.h"
10 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
11 #include "media/base/bind_to_current_loop.h" 9 #include "media/base/bind_to_current_loop.h"
12 #include "media/base/test_helpers.h" 10 #include "media/base/test_helpers.h"
13 11
14 namespace media { 12 namespace media {
15 13
16 FakeVideoDecoder::FakeVideoDecoder(int decoding_delay, 14 FakeVideoDecoder::FakeVideoDecoder(int decoding_delay,
17 int max_parallel_decoding_requests, 15 int max_parallel_decoding_requests,
18 const BytesDecodedCB& bytes_decoded_cb) 16 const BytesDecodedCB& bytes_decoded_cb)
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 252
255 void FakeVideoDecoder::DoReset() { 253 void FakeVideoDecoder::DoReset() {
256 DCHECK(thread_checker_.CalledOnValidThread()); 254 DCHECK(thread_checker_.CalledOnValidThread());
257 DCHECK(held_decode_callbacks_.empty()); 255 DCHECK(held_decode_callbacks_.empty());
258 DCHECK(!reset_cb_.IsNull()); 256 DCHECK(!reset_cb_.IsNull());
259 257
260 reset_cb_.RunOrHold(); 258 reset_cb_.RunOrHold();
261 } 259 }
262 260
263 } // namespace media 261 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/decrypting_video_decoder.cc ('k') | media/filters/ffmpeg_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698