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

Side by Side Diff: media/gpu/ipc/service/gpu_jpeg_decode_accelerator_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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
« no previous file with comments | « media/gpu/avda_codec_allocator_unittest.cc ('k') | media/gpu/ipc/service/media_gpu_channel.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/gpu/ipc/service/gpu_jpeg_decode_accelerator.h" 5 #include "media/gpu/ipc/service/gpu_jpeg_decode_accelerator.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h"
8 #include "base/test/scoped_task_environment.h" 9 #include "base/test/scoped_task_environment.h"
9 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
10 #include "gpu/ipc/service/gpu_channel.h" 11 #include "gpu/ipc/service/gpu_channel.h"
11 #include "media/gpu/ipc/common/media_messages.h" 12 #include "media/gpu/ipc/common/media_messages.h"
12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 using testing::_; 16 using testing::_;
16 using testing::SaveArg; 17 using testing::SaveArg;
17 using testing::InvokeWithoutArgs; 18 using testing::InvokeWithoutArgs;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 EXPECT_CALL(*decoder_ptr, Decode(_, _)); 123 EXPECT_CALL(*decoder_ptr, Decode(_, _));
123 io_task_runner->PostTaskAndReply( 124 io_task_runner->PostTaskAndReply(
124 FROM_HERE, 125 FROM_HERE,
125 base::Bind(&GpuJpegDecodeAcceleratorTest::SendStubFrame, 126 base::Bind(&GpuJpegDecodeAcceleratorTest::SendStubFrame,
126 base::Unretained(this), message_filter, kArbitraryRouteId), 127 base::Unretained(this), message_filter, kArbitraryRouteId),
127 run_loop2.QuitClosure()); 128 run_loop2.QuitClosure());
128 run_loop2.Run(); 129 run_loop2.Run();
129 } 130 }
130 131
131 } // namespace media 132 } // namespace media
OLDNEW
« no previous file with comments | « media/gpu/avda_codec_allocator_unittest.cc ('k') | media/gpu/ipc/service/media_gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698