| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |