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

Side by Side Diff: chrome/browser/media/media_capture_devices_dispatcher.h

Issue 23454030: Whitelist virtual keyboard extension to accept audioCapture and videoCapture permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: format nit Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/media/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
6 #define CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ 6 #define CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void ProcessScreenCaptureAccessRequest( 169 void ProcessScreenCaptureAccessRequest(
170 content::WebContents* web_contents, 170 content::WebContents* web_contents,
171 const content::MediaStreamRequest& request, 171 const content::MediaStreamRequest& request,
172 const content::MediaResponseCallback& callback, 172 const content::MediaResponseCallback& callback,
173 const extensions::Extension* extension); 173 const extensions::Extension* extension);
174 void ProcessTabCaptureAccessRequest( 174 void ProcessTabCaptureAccessRequest(
175 content::WebContents* web_contents, 175 content::WebContents* web_contents,
176 const content::MediaStreamRequest& request, 176 const content::MediaStreamRequest& request,
177 const content::MediaResponseCallback& callback, 177 const content::MediaResponseCallback& callback,
178 const extensions::Extension* extension); 178 const extensions::Extension* extension);
179 void ProcessMediaAccessRequestFromPlatformApp( 179 void ProcessMediaAccessRequestFromPlatformAppOrExtension(
180 content::WebContents* web_contents, 180 content::WebContents* web_contents,
181 const content::MediaStreamRequest& request, 181 const content::MediaStreamRequest& request,
182 const content::MediaResponseCallback& callback, 182 const content::MediaResponseCallback& callback,
183 const extensions::Extension* extension); 183 const extensions::Extension* extension);
184 void ProcessRegularMediaAccessRequest( 184 void ProcessRegularMediaAccessRequest(
185 content::WebContents* web_contents, 185 content::WebContents* web_contents,
186 const content::MediaStreamRequest& request, 186 const content::MediaStreamRequest& request,
187 const content::MediaResponseCallback& callback); 187 const content::MediaResponseCallback& callback);
188 void ProcessQueuedAccessRequest(content::WebContents* web_contents); 188 void ProcessQueuedAccessRequest(content::WebContents* web_contents);
189 void OnAccessRequestResponse(content::WebContents* web_contents, 189 void OnAccessRequestResponse(content::WebContents* web_contents,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 scoped_refptr<AudioStreamIndicator> audio_stream_indicator_; 225 scoped_refptr<AudioStreamIndicator> audio_stream_indicator_;
226 226
227 scoped_ptr<DesktopStreamsRegistry> desktop_streams_registry_; 227 scoped_ptr<DesktopStreamsRegistry> desktop_streams_registry_;
228 228
229 content::NotificationRegistrar notifications_registrar_; 229 content::NotificationRegistrar notifications_registrar_;
230 230
231 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesDispatcher); 231 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesDispatcher);
232 }; 232 };
233 233
234 #endif // CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ 234 #endif // CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/media_capture_devices_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698