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

Side by Side Diff: media/capture/video/video_capture_device_unittest.cc

Issue 1965273003: Fix include path for moved thread_task_runner_handle.h header in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 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
« no previous file with comments | « media/capture/video/mac/video_capture_device_mac.mm ('k') | media/cast/test/simulator.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/capture/video/video_capture_device.h" 5 #include "media/capture/video/video_capture_device.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/test/test_timeouts.h" 18 #include "base/test/test_timeouts.h"
19 #include "base/thread_task_runner_handle.h"
20 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
20 #include "base/threading/thread_task_runner_handle.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "media/base/video_capture_types.h" 22 #include "media/base/video_capture_types.h"
23 #include "media/capture/video/video_capture_device_factory.h" 23 #include "media/capture/video/video_capture_device_factory.h"
24 #include "testing/gmock/include/gmock/gmock.h" 24 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 #if defined(OS_WIN) 27 #if defined(OS_WIN)
28 #include "base/win/scoped_com_initializer.h" 28 #include "base/win/scoped_com_initializer.h"
29 #include "base/win/windows_version.h" // For fine-grained suppression. 29 #include "base/win/windows_version.h" // For fine-grained suppression.
30 #include "media/capture/video/win/video_capture_device_factory_win.h" 30 #include "media/capture/video/win/video_capture_device_factory_win.h"
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // GetDeviceSupportedFormats(). 486 // GetDeviceSupportedFormats().
487 std::unique_ptr<VideoCaptureDevice::Name> name = 487 std::unique_ptr<VideoCaptureDevice::Name> name =
488 GetFirstDeviceNameSupportingPixelFormat(PIXEL_FORMAT_MAX); 488 GetFirstDeviceNameSupportingPixelFormat(PIXEL_FORMAT_MAX);
489 // Verify no camera returned for PIXEL_FORMAT_MAX. Nothing else 489 // Verify no camera returned for PIXEL_FORMAT_MAX. Nothing else
490 // to test here 490 // to test here
491 // since we cannot forecast the hardware capabilities. 491 // since we cannot forecast the hardware capabilities.
492 ASSERT_FALSE(name); 492 ASSERT_FALSE(name);
493 } 493 }
494 494
495 }; // namespace media 495 }; // namespace media
OLDNEW
« no previous file with comments | « media/capture/video/mac/video_capture_device_mac.mm ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698