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

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

Issue 2673373003: getUserMeida: report device starting states (Closed)
Patch Set: address comments on PS#8 Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VIDEO_FRAME_RECEIVER_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
6 #define MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_ 6 #define MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
7 7
8 #include "media/capture/capture_export.h" 8 #include "media/capture/capture_export.h"
9 #include "media/capture/mojo/video_capture_types.mojom.h" 9 #include "media/capture/mojo/video_capture_types.mojom.h"
10 #include "media/capture/video/video_capture_buffer_handle.h" 10 #include "media/capture/video/video_capture_buffer_handle.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // while the receiver is still holding |buffer_read_permission| from a call to 45 // while the receiver is still holding |buffer_read_permission| from a call to
46 // OnFrameReadInBuffer() for the same buffer. In that case, it means that the 46 // OnFrameReadInBuffer() for the same buffer. In that case, it means that the
47 // caller is asking the VideoFrameReceiver to release the read permission and 47 // caller is asking the VideoFrameReceiver to release the read permission and
48 // buffer handle at its earliest convenience. 48 // buffer handle at its earliest convenience.
49 // After this call, a producer may immediately reuse the retired |buffer_id| 49 // After this call, a producer may immediately reuse the retired |buffer_id|
50 // with a new buffer via a call to OnNewBufferHandle(). 50 // with a new buffer via a call to OnNewBufferHandle().
51 virtual void OnBufferRetired(int buffer_id) = 0; 51 virtual void OnBufferRetired(int buffer_id) = 0;
52 52
53 virtual void OnError() = 0; 53 virtual void OnError() = 0;
54 virtual void OnLog(const std::string& message) = 0; 54 virtual void OnLog(const std::string& message) = 0;
55 virtual void OnStarted() = 0;
55 }; 56 };
56 57
57 } // namespace media 58 } // namespace media
58 59
59 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_ 60 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
OLDNEW
« no previous file with comments | « media/capture/video/video_capture_device_unittest.cc ('k') | media/capture/video/win/video_capture_device_mf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698