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

Side by Side Diff: content/renderer/media/canvas_capture_handler_unittest.cc

Issue 1951013003: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's smart pointer fix Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/run_loop.h" 6 #include "base/run_loop.h"
7 #include "base/threading/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "content/child/child_process.h" 8 #include "content/child/child_process.h"
9 #include "content/renderer/media/canvas_capture_handler.h" 9 #include "content/renderer/media/canvas_capture_handler.h"
10 #include "content/renderer/media/media_stream_video_capturer_source.h" 10 #include "content/renderer/media/media_stream_video_capturer_source.h"
11 #include "media/base/limits.h" 11 #include "media/base/limits.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 15 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
16 #include "third_party/WebKit/public/platform/WebSize.h" 16 #include "third_party/WebKit/public/platform/WebSize.h"
17 #include "third_party/WebKit/public/web/WebHeap.h" 17 #include "third_party/WebKit/public/web/WebHeap.h"
18 #include "third_party/skia/include/core/SkImage.h"
19 #include "third_party/skia/include/core/SkRefCnt.h"
18 20
19 using ::testing::_; 21 using ::testing::_;
20 using ::testing::InSequence; 22 using ::testing::InSequence;
21 using ::testing::Mock; 23 using ::testing::Mock;
22 using ::testing::SaveArg; 24 using ::testing::SaveArg;
23 using ::testing::Test; 25 using ::testing::Test;
24 using ::testing::TestWithParam; 26 using ::testing::TestWithParam;
25 27
26 namespace content { 28 namespace content {
27 29
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 INSTANTIATE_TEST_CASE_P( 248 INSTANTIATE_TEST_CASE_P(
247 , 249 ,
248 CanvasCaptureHandlerTest, 250 CanvasCaptureHandlerTest,
249 ::testing::Combine(::testing::Bool(), 251 ::testing::Combine(::testing::Bool(),
250 ::testing::Values(kTestCanvasCaptureFrameEvenSize, 252 ::testing::Values(kTestCanvasCaptureFrameEvenSize,
251 kTestCanvasCaptureFrameOddSize), 253 kTestCanvasCaptureFrameOddSize),
252 ::testing::Values(kTestCanvasCaptureFrameEvenSize, 254 ::testing::Values(kTestCanvasCaptureFrameEvenSize,
253 kTestCanvasCaptureFrameOddSize))); 255 kTestCanvasCaptureFrameOddSize)));
254 256
255 } // namespace content 257 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/canvas_capture_handler.cc ('k') | content/renderer/media/html_video_element_capturer_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698