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

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

Issue 1095393004: Refactor: Make MediaCaptureDevicesDispatcher have pluggable handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
Sergey Ulanov 2015/04/24 22:43:51 nit: Here and in other files: please remove (c) ht
changbin 2015/04/29 05:24:34 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_MEDIA_DESKTOP_CAPTURE_ACCESS_HANDLER_H_
6 #define CHROME_BROWSER_MEDIA_DESKTOP_CAPTURE_ACCESS_HANDLER_H_
7
8 #include "chrome/browser/media/media_access_handler.h"
9
10 class DesktopStreamsRegistry;
11
12 class DesktopCaptureAccessHandler : public MediaAccessHandler {
13 public:
14 explicit DesktopCaptureAccessHandler(DesktopStreamsRegistry* registry);
15 ~DesktopCaptureAccessHandler() override;
16
17 void HandleRequest(content::WebContents* web_contents,
18 const content::MediaStreamRequest& request,
19 const content::MediaResponseCallback& callback,
20 const extensions::Extension* extension) override;
21
22 private:
23 void ProcessScreenCaptureAccessRequest(
24 content::WebContents* web_contents,
25 const content::MediaStreamRequest& request,
26 const content::MediaResponseCallback& callback,
27 const extensions::Extension* extension);
28
29 DesktopStreamsRegistry* desktop_streams_registry_;
30 };
31
32 #endif // CHROME_BROWSER_MEDIA_DESKTOP_CAPTURE_ACCESS_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/desktop_capture_access_handler.cc » ('j') | chrome/browser/media/media_access_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698