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

Side by Side Diff: content/browser/media/capture/screen_capture_device_android_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 "content/browser/media/capture/screen_capture_device_android.h" 5 #include "content/browser/media/capture/screen_capture_device_android.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
9 10
10 using ::testing::_; 11 using ::testing::_;
11 12
12 namespace content { 13 namespace content {
13 namespace { 14 namespace {
14 15
15 const int kFrameRate = 30; 16 const int kFrameRate = 30;
16 17
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 media::VideoCaptureParams capture_params; 93 media::VideoCaptureParams capture_params;
93 capture_params.requested_format.frame_size.SetSize(640, 480); 94 capture_params.requested_format.frame_size.SetSize(640, 480);
94 capture_params.requested_format.frame_rate = kFrameRate; 95 capture_params.requested_format.frame_rate = kFrameRate;
95 capture_params.requested_format.pixel_format = media::PIXEL_FORMAT_I420; 96 capture_params.requested_format.pixel_format = media::PIXEL_FORMAT_I420;
96 capture_device->AllocateAndStart(capture_params, std::move(client)); 97 capture_device->AllocateAndStart(capture_params, std::move(client));
97 capture_device->StopAndDeAllocate(); 98 capture_device->StopAndDeAllocate();
98 } 99 }
99 100
100 } // namespace 101 } // namespace
101 } // namespace Content 102 } // namespace Content
OLDNEW
« no previous file with comments | « content/browser/media/capture/image_capture_impl.cc ('k') | content/browser/media/media_interface_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698