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

Side by Side Diff: content/browser/media/media_devices_util.h

Issue 2646833002: Add IPC to query capabilities of video input devices. (Closed)
Patch Set: address comment from clamy Created 3 years, 10 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 2017 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 CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_UTIL_H_
6 #define CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_UTIL_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11 #include "content/common/content_export.h"
12 #include "content/common/media/media_devices.h"
13
14 namespace content {
15
16 // Returns the ID of the user-default device ID via |callback|.
17 // If no such device ID can be found, |callback| receives an empty string.
18 void CONTENT_EXPORT GetDefaultMediaDeviceID(
19 MediaDeviceType device_type,
20 int render_process_id,
21 int render_frame_id,
22 const base::Callback<void(const std::string&)>& callback);
23
24 } // namespace content
25
26 #endif // CONTENT_BROWSER_MEDIA_MEDIA_DEVICES_UTIL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.cc ('k') | content/browser/media/media_devices_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698