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

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

Issue 661053002: Cleanup: Put more media and profile extensions code behind ENABLE_EXTENSIONS ifdefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: nits Created 6 years, 2 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
« 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 <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void ProcessScreenCaptureAccessRequest( 187 void ProcessScreenCaptureAccessRequest(
188 content::WebContents* web_contents, 188 content::WebContents* web_contents,
189 const content::MediaStreamRequest& request, 189 const content::MediaStreamRequest& request,
190 const content::MediaResponseCallback& callback, 190 const content::MediaResponseCallback& callback,
191 const extensions::Extension* extension); 191 const extensions::Extension* extension);
192 void ProcessTabCaptureAccessRequest( 192 void ProcessTabCaptureAccessRequest(
193 content::WebContents* web_contents, 193 content::WebContents* web_contents,
194 const content::MediaStreamRequest& request, 194 const content::MediaStreamRequest& request,
195 const content::MediaResponseCallback& callback, 195 const content::MediaResponseCallback& callback,
196 const extensions::Extension* extension); 196 const extensions::Extension* extension);
197 #if defined(ENABLE_EXTENSIONS)
197 void ProcessMediaAccessRequestFromPlatformAppOrExtension( 198 void ProcessMediaAccessRequestFromPlatformAppOrExtension(
198 content::WebContents* web_contents, 199 content::WebContents* web_contents,
199 const content::MediaStreamRequest& request, 200 const content::MediaStreamRequest& request,
200 const content::MediaResponseCallback& callback, 201 const content::MediaResponseCallback& callback,
201 const extensions::Extension* extension); 202 const extensions::Extension* extension);
203 #endif
202 void ProcessRegularMediaAccessRequest( 204 void ProcessRegularMediaAccessRequest(
203 content::WebContents* web_contents, 205 content::WebContents* web_contents,
204 const content::MediaStreamRequest& request, 206 const content::MediaStreamRequest& request,
205 const content::MediaResponseCallback& callback); 207 const content::MediaResponseCallback& callback);
206 void ProcessQueuedAccessRequest(content::WebContents* web_contents); 208 void ProcessQueuedAccessRequest(content::WebContents* web_contents);
207 void OnAccessRequestResponse(content::WebContents* web_contents, 209 void OnAccessRequestResponse(content::WebContents* web_contents,
208 const content::MediaStreamDevices& devices, 210 const content::MediaStreamDevices& devices,
209 content::MediaStreamRequestResult result, 211 content::MediaStreamRequestResult result,
210 scoped_ptr<content::MediaStreamUI> ui); 212 scoped_ptr<content::MediaStreamUI> ui);
211 213
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 int render_frame_id; 252 int render_frame_id;
251 int page_request_id; 253 int page_request_id;
252 }; 254 };
253 typedef std::list<DesktopCaptureSession> DesktopCaptureSessions; 255 typedef std::list<DesktopCaptureSession> DesktopCaptureSessions;
254 DesktopCaptureSessions desktop_capture_sessions_; 256 DesktopCaptureSessions desktop_capture_sessions_;
255 257
256 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesDispatcher); 258 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesDispatcher);
257 }; 259 };
258 260
259 #endif // CHROME_BROWSER_MEDIA_MEDIA_CAPTURE_DEVICES_DISPATCHER_H_ 261 #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