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

Side by Side Diff: extensions/shell/browser/media_capture_util.h

Issue 493453004: app_shell: Add audio and video capture support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (video-capture) rebase Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_MEDIA_CAPTURE_UTIL_H_
6 #define EXTENSIONS_SHELL_BROWSER_MEDIA_CAPTURE_UTIL_H_
7
8 #include "base/macros.h"
9 #include "content/public/common/media_stream_request.h"
10
11 namespace content {
12 class WebContents;
13 }
14
15 namespace extensions {
16
17 class Extension;
18
19 namespace media_capture_util {
20
21 // Grants access to the first available audio capture device (if requested) and
22 // the first available video capture device (if requested). Usually used as a
23 // helper for media capture ProcessMediaAccessRequest().
24 void GrantMediaStreamRequestWithFirstDevice(
25 content::WebContents* web_contents,
26 const content::MediaStreamRequest& request,
27 const content::MediaResponseCallback& callback,
28 const Extension* extension);
29
30 } // namespace media_capture_util
31 } // namespace extensions
32
33 #endif // EXTENSIONS_SHELL_BROWSER_MEDIA_CAPTURE_UTIL_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/default_shell_app_window_controller.cc ('k') | extensions/shell/browser/media_capture_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698