OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ |
6 #define CHROME_BROWSER_MEDIA_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "chrome/browser/media/capture_access_handler_base.h" | 10 #include "chrome/browser/media/capture_access_handler_base.h" |
11 #include "chrome/browser/media/media_access_handler.h" | 11 #include "chrome/browser/media/media_access_handler.h" |
12 | 12 |
13 // MediaAccessHandler for DesktopCapture API. | 13 // MediaAccessHandler for DesktopCapture API. |
14 class DesktopCaptureAccessHandler : public CaptureAccessHandlerBase { | 14 class DesktopCaptureAccessHandler : public CaptureAccessHandlerBase { |
15 public: | 15 public: |
16 DesktopCaptureAccessHandler(); | 16 DesktopCaptureAccessHandler(); |
(...skipping 14 matching lines...) Expand all Loading... |
31 | 31 |
32 private: | 32 private: |
33 void ProcessScreenCaptureAccessRequest( | 33 void ProcessScreenCaptureAccessRequest( |
34 content::WebContents* web_contents, | 34 content::WebContents* web_contents, |
35 const content::MediaStreamRequest& request, | 35 const content::MediaStreamRequest& request, |
36 const content::MediaResponseCallback& callback, | 36 const content::MediaResponseCallback& callback, |
37 const extensions::Extension* extension); | 37 const extensions::Extension* extension); |
38 | 38 |
39 }; | 39 }; |
40 | 40 |
41 #endif // CHROME_BROWSER_MEDIA_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ | 41 #endif // CHROME_BROWSER_MEDIA_WEBRTC_DESKTOP_CAPTURE_ACCESS_HANDLER_H_ |
OLD | NEW |