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

Side by Side Diff: chrome/browser/media/tab_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: Update Created 5 years, 7 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 2015 The Chromium Authors. All rights reserved.
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_TAB_CAPTURE_ACCESS_HANDLER_H_
6 #define CHROME_BROWSER_MEDIA_TAB_CAPTURE_ACCESS_HANDLER_H_
7
8 #include "chrome/browser/media/media_access_handler.h"
9
10 class MediaStreamCaptureIndicator;
11
12 class TabCaptureAccessHandler : public MediaAccessHandler {
13 public:
14 TabCaptureAccessHandler();
15 ~TabCaptureAccessHandler() override;
16
17 // MediaAccessHandler implementation.
18 bool SupportsRequest(const content::MediaStreamRequest& request,
19 const extensions::Extension* extension) override;
20 void HandleRequest(content::WebContents* web_contents,
21 const content::MediaStreamRequest& request,
22 const content::MediaResponseCallback& callback,
23 const extensions::Extension* extension) override;
24 };
25
26 #endif // CHROME_BROWSER_MEDIA_TAB_CAPTURE_ACCESS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698