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

Side by Side Diff: media/capture/video/fake_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/command_line.h" 9 #include "base/command_line.h"
7 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
8 #include "base/run_loop.h" 11 #include "base/run_loop.h"
9 #include "base/test/test_timeouts.h" 12 #include "base/test/test_timeouts.h"
10 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "build/build_config.h"
11 #include "media/base/media_switches.h" 15 #include "media/base/media_switches.h"
12 #include "media/base/video_capture_types.h" 16 #include "media/base/video_capture_types.h"
13 #include "media/capture/video/fake_video_capture_device.h" 17 #include "media/capture/video/fake_video_capture_device.h"
14 #include "media/capture/video/fake_video_capture_device_factory.h" 18 #include "media/capture/video/fake_video_capture_device_factory.h"
15 #include "media/capture/video/video_capture_device.h" 19 #include "media/capture/video/video_capture_device.h"
16 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
18 22
19 using ::testing::_; 23 using ::testing::_;
20 using ::testing::Bool; 24 using ::testing::Bool;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 } 282 }
279 } 283 }
280 284
281 INSTANTIATE_TEST_CASE_P(, 285 INSTANTIATE_TEST_CASE_P(,
282 FakeVideoCaptureDeviceCommandLineTest, 286 FakeVideoCaptureDeviceCommandLineTest,
283 Values(CommandLineTestData{"fps=-1", 5}, 287 Values(CommandLineTestData{"fps=-1", 5},
284 CommandLineTestData{"fps=29.97", 29.97f}, 288 CommandLineTestData{"fps=29.97", 29.97f},
285 CommandLineTestData{"fps=60", 60}, 289 CommandLineTestData{"fps=60", 60},
286 CommandLineTestData{"fps=1000", 60})); 290 CommandLineTestData{"fps=1000", 60}));
287 }; // namespace media 291 }; // namespace media
OLDNEW
« no previous file with comments | « media/capture/video/fake_video_capture_device_factory.cc ('k') | media/capture/video/file_video_capture_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698