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

Unified Diff: content/browser/media/media_internals.h

Issue 643343004: Video Capture Capabilities available on chrome://media-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits @ xhwang Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/media/media_internals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/media_internals.h
diff --git a/content/browser/media/media_internals.h b/content/browser/media/media_internals.h
index 1e6379363dfbc1ec70e871d28056b865bc9b0fa3..7b0652c0f88a97304a27982b21900e3a696d7402 100644
--- a/content/browser/media/media_internals.h
+++ b/content/browser/media/media_internals.h
@@ -47,6 +47,10 @@ class CONTENT_EXPORT MediaInternals
// Sends all audio cached data to each registered UpdateCallback.
void SendAudioStreamData();
+ // Sends all video capture capabilities cached data to each registered
+ // UpdateCallback.
+ void SendVideoCaptureDeviceCapabilities();
+
// Called to inform of the capabilities enumerated for video devices.
void UpdateVideoCaptureDeviceCapabilities(
const media::VideoCaptureDeviceInfos& video_capture_device_infos);
@@ -79,6 +83,7 @@ class CONTENT_EXPORT MediaInternals
// Must only be accessed on the IO thread.
std::vector<UpdateCallback> update_callbacks_;
+ base::ListValue video_capture_capabilities_cached_data_;
// All variables below must be accessed under |lock_|.
base::Lock lock_;
« no previous file with comments | « no previous file | content/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698