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

Unified Diff: chromeos/dbus/cras_audio_client.h

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: Created 3 years, 11 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
Index: chromeos/dbus/cras_audio_client.h
diff --git a/chromeos/dbus/cras_audio_client.h b/chromeos/dbus/cras_audio_client.h
index 54284be264527ddf2c489aff2ccea02a2e2678b2..10f549c6778ce9dd5f9afb3c20583a0cf158ec55 100644
--- a/chromeos/dbus/cras_audio_client.h
+++ b/chromeos/dbus/cras_audio_client.h
@@ -49,6 +49,8 @@ class CHROMEOS_EXPORT CrasAudioClient : public DBusClient {
virtual ~Observer();
};
+ enum VideoFacingMode { NONE = 0, USER, ENVIRONMENT };
jennyz 2017/01/18 00:01:37 First: CrasAudioClient is a thin wrap for cras dbu
shenghao 2017/01/18 10:41:12 Moved to CrasAudioHandler
+
~CrasAudioClient() override;
// Adds and removes the observer.
@@ -57,6 +59,8 @@ class CHROMEOS_EXPORT CrasAudioClient : public DBusClient {
// Returns true if this object has the given observer.
virtual bool HasObserver(const Observer* observer) const = 0;
+ virtual void OnVideoCaptureStarted(VideoFacingMode facing) {}
jennyz 2017/01/18 00:01:37 Move this to CrasAudioHandler.
shenghao 2017/01/18 10:41:12 Done.
+
// GetVolumeStateCallback is used for GetVolumeState method. It receives
// 2 arguments, |volume_state| which containing both input and output volume
// state data, and |success| which indicates whether or not the request
« no previous file with comments | « no previous file | chromeos/dbus/cras_audio_client.cc » ('j') | content/browser/renderer_host/media/video_capture_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698