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

Unified Diff: content/renderer/media/video_capture_message_filter_unittest.cc

Issue 101843005: Convert video capture pipline to base::TimeTicks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 9890509b Rebase, Windows compile fixes Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/video_capture_message_filter_unittest.cc
diff --git a/content/renderer/media/video_capture_message_filter_unittest.cc b/content/renderer/media/video_capture_message_filter_unittest.cc
index 366bcb03041653bb2d700b447e54443386965239..985aebe46280f5ff98b371a4e9a120e41fed022e 100644
--- a/content/renderer/media/video_capture_message_filter_unittest.cc
+++ b/content/renderer/media/video_capture_message_filter_unittest.cc
@@ -29,9 +29,10 @@ class MockVideoCaptureDelegate : public VideoCaptureMessageFilter::Delegate {
int length,
int buffer_id));
MOCK_METHOD1(OnBufferDestroyed, void(int buffer_id));
- MOCK_METHOD3(OnBufferReceived, void(int buffer_id,
- base::Time timestamp,
- const media::VideoCaptureFormat& format));
+ MOCK_METHOD3(OnBufferReceived,
+ void(int buffer_id,
+ base::TimeTicks timestamp,
+ const media::VideoCaptureFormat& format));
MOCK_METHOD1(OnStateChanged, void(VideoCaptureState state));
virtual void OnDelegateAdded(int32 device_id) OVERRIDE {
@@ -79,7 +80,7 @@ TEST(VideoCaptureMessageFilterTest, Basic) {
// VideoCaptureMsg_BufferReady
int buffer_id = 22;
- base::Time timestamp = base::Time::FromInternalValue(1);
+ base::TimeTicks timestamp = base::TimeTicks::FromInternalValue(1);
media::VideoCaptureFormat format(
gfx::Size(234, 512), 30, media::PIXEL_FORMAT_I420);
« no previous file with comments | « content/renderer/media/video_capture_message_filter.cc ('k') | media/video/capture/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698