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

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: 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') | content/browser/media/media_internals.cc » ('J')
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..3eafcbad0f8caa1bfd5b9223468f7806c4ad625b 100644
--- a/content/browser/media/media_internals.h
+++ b/content/browser/media/media_internals.h
@@ -47,6 +47,11 @@ class CONTENT_EXPORT MediaInternals
// Sends all audio cached data to each registered UpdateCallback.
void SendAudioStreamData();
+ // TODO(burnik): Update comment.
mcasas 2014/10/14 13:44:11 TODO..
burnik 2014/10/15 13:45:57 Done. The comment seems ok to me. It's the same th
+ // Sends all video capture capabilities cached data to each registered
+ // UpdateCallback.
+ void SendVideoCaptureCapabilities();
+
// Called to inform of the capabilities enumerated for video devices.
void UpdateVideoCaptureDeviceCapabilities(
const media::VideoCaptureDeviceInfos& video_capture_device_infos);
@@ -83,6 +88,7 @@ class CONTENT_EXPORT MediaInternals
// All variables below must be accessed under |lock_|.
base::Lock lock_;
base::DictionaryValue audio_streams_cached_data_;
+ base::ListValue video_capture_capabilities_cached_data_;
int owner_ids_[AUDIO_COMPONENT_MAX];
DISALLOW_COPY_AND_ASSIGN(MediaInternals);
« no previous file with comments | « no previous file | content/browser/media/media_internals.cc » ('j') | content/browser/media/media_internals.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698