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

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: 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 // 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 device_id, bool is_secure);
136
134 // IPC message: Called when a renderer is finished using a buffer. Notifies 137 // IPC message: Called when a renderer is finished using a buffer. Notifies
135 // the controller. 138 // the controller.
136 void OnRendererFinishedWithBuffer(int device_id, 139 void OnRendererFinishedWithBuffer(int device_id,
137 int buffer_id, 140 int buffer_id,
138 const gpu::SyncToken& sync_token, 141 const gpu::SyncToken& sync_token,
139 double consumer_resource_utilization); 142 double consumer_resource_utilization);
140 143
141 // IPC message: Get supported formats referenced by |capture_session_id|. 144 // IPC message: Get supported formats referenced by |capture_session_id|.
142 // |device_id| is needed for message back-routing purposes. 145 // |device_id| is needed for message back-routing purposes.
143 void OnGetDeviceSupportedFormats( 146 void OnGetDeviceSupportedFormats(
(...skipping 20 matching lines...) Expand all
164 // is connected. An entry in this map holds a null controller while it is in 167 // is connected. An entry in this map holds a null controller while it is in
165 // the process of starting. 168 // the process of starting.
166 EntryMap entries_; 169 EntryMap entries_;
167 170
168 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost); 171 DISALLOW_COPY_AND_ASSIGN(VideoCaptureHost);
169 }; 172 };
170 173
171 } // namespace content 174 } // namespace content
172 175
173 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_ 176 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698