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/vpx_video_decoder_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/at_exit.h" 10 #include "base/at_exit.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "media/base/decoder_buffer.h" 16 #include "media/base/decoder_buffer.h"
16 #include "media/base/media.h" 17 #include "media/base/media.h"
17 #include "media/base/media_util.h" 18 #include "media/base/media_util.h"
18 #include "media/filters/vpx_video_decoder.h" 19 #include "media/filters/vpx_video_decoder.h"
19 20
20 using namespace media; 21 using namespace media;
21 22
22 struct Env { 23 struct Env {
23 Env() { 24 Env() {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 { 111 {
111 base::RunLoop run_loop; 112 base::RunLoop run_loop;
112 auto buffer = DecoderBuffer::CopyFrom(data, size); 113 auto buffer = DecoderBuffer::CopyFrom(data, size);
113 decoder.Decode(buffer, 114 decoder.Decode(buffer,
114 base::Bind(&OnDecodeComplete, run_loop.QuitClosure())); 115 base::Bind(&OnDecodeComplete, run_loop.QuitClosure()));
115 run_loop.Run(); 116 run_loop.Run();
116 } 117 }
117 118
118 return 0; 119 return 0;
119 } 120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698