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

Unified Diff: media/audio/audio_manager.h

Issue 2538793002: Log audio system used to WebRTC log. (Closed)
Patch Set: Code review. Created 4 years 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: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 666fa1b0e531095bec36097d02e5a4f330211e70..887521a9d8c78db648774e5c38b73f8778499728 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -253,6 +253,9 @@ class MEDIA_EXPORT AudioManager {
virtual std::unique_ptr<AudioLog> CreateAudioLog(
AudioLogFactory::AudioComponent component) = 0;
+ // Gets the name of the audio manager (e.g., Windows, Mac, PulseAudio).
+ virtual const char* GetName() = 0;
+
protected:
AudioManager(scoped_refptr<base::SingleThreadTaskRunner> task_runner,
scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner);

Powered by Google App Engine
This is Rietveld 408576698