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

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

Issue 19622002: Use a direct include of the message_loop header in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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
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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "media/base/audio_decoder_config.h" 9 #include "media/base/audio_decoder_config.h"
10 #include "media/base/decoder_buffer.h" 10 #include "media/base/decoder_buffer.h"
11 #include "media/base/decrypt_config.h" 11 #include "media/base/decrypt_config.h"
12 #include "media/base/mock_demuxer_host.h" 12 #include "media/base/mock_demuxer_host.h"
13 #include "media/base/test_data_util.h" 13 #include "media/base/test_data_util.h"
14 #include "media/base/test_helpers.h" 14 #include "media/base/test_helpers.h"
15 #include "media/filters/chunk_demuxer.h" 15 #include "media/filters/chunk_demuxer.h"
16 #include "media/webm/cluster_builder.h" 16 #include "media/webm/cluster_builder.h"
17 #include "media/webm/webm_constants.h" 17 #include "media/webm/webm_constants.h"
18 #include "media/webm/webm_crypto_helpers.h" 18 #include "media/webm/webm_crypto_helpers.h"
(...skipping 2628 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 // don't get removed. 2647 // don't get removed.
2648 // 2648 //
2649 // NOTE: The current GC algorithm tries to preserve the GOP at the 2649 // NOTE: The current GC algorithm tries to preserve the GOP at the
2650 // current position as well as the last appended GOP. This is 2650 // current position as well as the last appended GOP. This is
2651 // why there are 2 ranges in the expectations. 2651 // why there are 2 ranges in the expectations.
2652 AppendSingleStreamCluster(kSourceId, kAudioTrackNum, 700, 5); 2652 AppendSingleStreamCluster(kSourceId, kAudioTrackNum, 700, 5);
2653 CheckExpectedRanges(kSourceId, "{ [500,592) [792,815) }"); 2653 CheckExpectedRanges(kSourceId, "{ [500,592) [792,815) }");
2654 } 2654 }
2655 2655
2656 } // namespace media 2656 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/audio_renderer_impl_unittest.cc ('k') | media/filters/decrypting_audio_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698