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

Side by Side Diff: media/muxers/webm_muxer_fuzzertest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <random> 8 #include <random>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
15 #include "media/base/audio_parameters.h" 16 #include "media/base/audio_parameters.h"
16 #include "media/base/video_frame.h" 17 #include "media/base/video_frame.h"
17 #include "media/muxers/webm_muxer.h" 18 #include "media/muxers/webm_muxer.h"
18 19
19 using namespace media; 20 using namespace media;
20 21
21 // Min and max number of encodec video/audio packets to send in the WebmMuxer. 22 // Min and max number of encodec video/audio packets to send in the WebmMuxer.
22 const int kMinNumIterations = 1; 23 const int kMinNumIterations = 1;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 muxer.OnEncodedAudio(params, base::MakeUnique<std::string>(str), 88 muxer.OnEncodedAudio(params, base::MakeUnique<std::string>(str),
88 base::TimeTicks()); 89 base::TimeTicks());
89 base::RunLoop run_loop; 90 base::RunLoop run_loop;
90 run_loop.RunUntilIdle(); 91 run_loop.RunUntilIdle();
91 } 92 }
92 } while (num_iterations--); 93 } while (num_iterations--);
93 } 94 }
94 95
95 return 0; 96 return 0;
96 } 97 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698