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

Side by Side Diff: content/renderer/media/video_capture_impl.h

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const VideoCaptureStateUpdateCB& state_update_cb, 70 const VideoCaptureStateUpdateCB& state_update_cb,
71 const VideoCaptureDeliverFrameCB& deliver_frame_cb); 71 const VideoCaptureDeliverFrameCB& deliver_frame_cb);
72 72
73 // Stop capturing. |client_id| is the identifier used to call StartCapture. 73 // Stop capturing. |client_id| is the identifier used to call StartCapture.
74 void StopCapture(int client_id); 74 void StopCapture(int client_id);
75 75
76 // Requests that the video capturer send a frame "soon" (e.g., to resolve 76 // Requests that the video capturer send a frame "soon" (e.g., to resolve
77 // picture loss or quality issues). 77 // picture loss or quality issues).
78 void RequestRefreshFrame(); 78 void RequestRefreshFrame();
79 79
80 // Set if the captruring link is secure.
81 void SetCapturingLinkSecured(bool is_secure);
82
80 // Get capturing formats supported by this device. 83 // Get capturing formats supported by this device.
81 // |callback| will be invoked with the results. 84 // |callback| will be invoked with the results.
82 void GetDeviceSupportedFormats(const VideoCaptureDeviceFormatsCB& callback); 85 void GetDeviceSupportedFormats(const VideoCaptureDeviceFormatsCB& callback);
83 86
84 // Get capturing formats currently in use by this device. 87 // Get capturing formats currently in use by this device.
85 // |callback| will be invoked with the results. 88 // |callback| will be invoked with the results.
86 void GetDeviceFormatsInUse(const VideoCaptureDeviceFormatsCB& callback); 89 void GetDeviceFormatsInUse(const VideoCaptureDeviceFormatsCB& callback);
87 90
88 media::VideoCaptureSessionId session_id() const { return session_id_; } 91 media::VideoCaptureSessionId session_id() const { return session_id_; }
89 92
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // in |client_buffers_|. 206 // in |client_buffers_|.
204 // NOTE: Weak pointers must be invalidated before all other member variables. 207 // NOTE: Weak pointers must be invalidated before all other member variables.
205 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_; 208 base::WeakPtrFactory<VideoCaptureImpl> weak_factory_;
206 209
207 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl); 210 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImpl);
208 }; 211 };
209 212
210 } // namespace content 213 } // namespace content
211 214
212 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_ 215 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698