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

Side by Side Diff: media/capture/video/file_video_capture_device.h

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#4 and revise unittests Created 3 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_
6 #define MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ 6 #define MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 base::Thread capture_thread_; 76 base::Thread capture_thread_;
77 // The following members belong to |capture_thread_|. 77 // The following members belong to |capture_thread_|.
78 std::unique_ptr<VideoCaptureDevice::Client> client_; 78 std::unique_ptr<VideoCaptureDevice::Client> client_;
79 const base::FilePath file_path_; 79 const base::FilePath file_path_;
80 std::unique_ptr<VideoFileParser> file_parser_; 80 std::unique_ptr<VideoFileParser> file_parser_;
81 VideoCaptureFormat capture_format_; 81 VideoCaptureFormat capture_format_;
82 // Target time for the next frame. 82 // Target time for the next frame.
83 base::TimeTicks next_frame_time_; 83 base::TimeTicks next_frame_time_;
84 // The system time when we receive the first frame. 84 // The system time when we receive the first frame.
85 base::TimeTicks first_ref_time_; 85 base::TimeTicks first_ref_time_;
86 bool capture_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice); 88 DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice);
88 }; 89 };
89 90
90 } // namespace media 91 } // namespace media
91 92
92 #endif // MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ 93 #endif // MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698