summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/media_utils.h
blob: 8da821b1807ed4fdf5127f25b4c5d3f19a9dd3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_MEDIA_UTILS_H_
#define CHROME_BROWSER_UI_MEDIA_UTILS_H_

#include "content/public/common/media_stream_request.h"

class Profile;

namespace content {
class WebContents;
}

void RequestMediaAccessPermission(
    content::WebContents* web_contents,
    Profile* profile,
    const content::MediaStreamRequest& request,
    const content::MediaResponseCallback& callback);

#endif  // CHROME_BROWSER_UI_MEDIA_UTILS_H_