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

Side by Side Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 1873293002: Report if video capturing meets output protection requirement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 7 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 // VideoCaptureHost serves video capture related messages from 5 // VideoCaptureHost serves video capture related messages from
6 // VideoCaptureMessageFilter which lives inside the render process. 6 // VideoCaptureMessageFilter which lives inside the render process.
7 // 7 //
8 // This class is owned by RenderProcessHostImpl, and instantiated on UI 8 // This class is owned by RenderProcessHostImpl, and instantiated on UI
9 // thread, but all other operations and method calls happen on IO thread. 9 // thread, but all other operations and method calls happen on IO thread.
10 // 10 //
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void OnPauseCapture(int device_id); 124 void OnPauseCapture(int device_id);
125 125
126 void OnResumeCapture(int device_id, 126 void OnResumeCapture(int device_id,
127 media::VideoCaptureSessionId session_id, 127 media::VideoCaptureSessionId session_id,
128 const media::VideoCaptureParams& params); 128 const media::VideoCaptureParams& params);
129 129
130 // IPC message: Requests that the video capture send a frame "soon" (e.g., to 130 // IPC message: Requests that the video capture send a frame "soon" (e.g., to
131 // resolve picture loss or quality issues). 131 // resolve picture loss or quality issues).
132 void OnRequestRefreshFrame(int device_id); 132 void OnRequestRefreshFrame(int device_id);
133 133
134 // IPC message: Set if the video capturing is secure.
135 void OnSetCapturingLinkSecured(int session_id,
136 const std::string& stream_device_id,
137 bool is_secure);
138
134 // IPC message: Called when a renderer is finished using a buffer. Notifies 139 // IPC message: Called when a renderer is finished using a buffer. Notifies
135 // the controller. 140 // the controller.
136 void OnRendererFinishedWithBuffer(int device_id, 141 void OnRendererFinishedWithBuffer(int device_id,
137 int buffer_id, 142 int buffer_id,
138 const gpu::SyncToken& sync_token, 143 const gpu::SyncToken& sync_token,
139 double consumer_resource_utilization); 144 double consumer_resource_utilization);
140 145
141 // IPC message: Get supported formats referenced by |capture_session_id|. 146 // IPC message: Get supported formats referenced by |capture_session_id|.
142 // |device_id| is needed for message back-routing purposes. 147 // |device_id| is needed for message back-routing purposes.
143 void OnGetDeviceSupportedFormats( 148 void OnGetDeviceSupportedFormats(
(...skipping 20 matching lines...) Expand all
164 // is connected. An entry in this map holds a null controller while it is in 169 // is connected. An entry in this map holds a null controller while it is in
165 // the process of starting. 170 // the process of starting.
166 EntryMap entries_; 171 EntryMap entries_;
167 172
168 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost); 173 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost);
169 }; 174 };
170 175
171 } // namespace content 176 } // namespace content
172 177
173 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_ 178 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698