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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 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 (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 <stddef.h>
6 #include <stdint.h>
7
5 #include "base/bind.h" 8 #include "base/bind.h"
6 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
7 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
9 #include "base/run_loop.h" 12 #include "base/run_loop.h"
10 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
11 #include "base/test/test_timeouts.h" 14 #include "base/test/test_timeouts.h"
12 #include "base/thread_task_runner_handle.h" 15 #include "base/thread_task_runner_handle.h"
13 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "build/build_config.h"
14 #include "media/base/video_capture_types.h" 18 #include "media/base/video_capture_types.h"
15 #include "media/capture/video/video_capture_device.h" 19 #include "media/capture/video/video_capture_device.h"
16 #include "media/capture/video/video_capture_device_factory.h" 20 #include "media/capture/video/video_capture_device_factory.h"
17 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
19 23
20 #if defined(OS_WIN) 24 #if defined(OS_WIN)
21 #include "base/win/scoped_com_initializer.h" 25 #include "base/win/scoped_com_initializer.h"
22 #include "base/win/windows_version.h" // For fine-grained suppression. 26 #include "base/win/windows_version.h" // For fine-grained suppression.
23 #include "media/capture/video/win/video_capture_device_factory_win.h" 27 #include "media/capture/video/win/video_capture_device_factory_win.h"
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 // GetDeviceSupportedFormats(). 476 // GetDeviceSupportedFormats().
473 scoped_ptr<VideoCaptureDevice::Name> name = 477 scoped_ptr<VideoCaptureDevice::Name> name =
474 GetFirstDeviceNameSupportingPixelFormat(PIXEL_FORMAT_MAX); 478 GetFirstDeviceNameSupportingPixelFormat(PIXEL_FORMAT_MAX);
475 // Verify no camera returned for PIXEL_FORMAT_MAX. Nothing else 479 // Verify no camera returned for PIXEL_FORMAT_MAX. Nothing else
476 // to test here 480 // to test here
477 // since we cannot forecast the hardware capabilities. 481 // since we cannot forecast the hardware capabilities.
478 ASSERT_FALSE(name); 482 ASSERT_FALSE(name);
479 } 483 }
480 484
481 }; // namespace media 485 }; // namespace media
OLDNEW
« no previous file with comments | « media/capture/video/video_capture_device_factory.cc ('k') | media/capture/video/win/filter_base_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698