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

Unified Diff: media/audio/audio_manager.h

Issue 2077983003: Intiialize AudioManager and related class lazily (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix MediaSessionTest Created 4 years, 5 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 | « media/audio/android/audio_manager_android.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.h
diff --git a/media/audio/audio_manager.h b/media/audio/audio_manager.h
index 27317c5c27d6909a992e61c432eca556fe1de2c0..4c4cc8f59b4c77f66c8083ba30ceb6a2ec5e90b7 100644
--- a/media/audio/audio_manager.h
+++ b/media/audio/audio_manager.h
@@ -74,7 +74,7 @@ class MEDIA_EXPORT AudioManager {
// Runs the monitor on the given |task_runner|, which must be different from
// AudioManager::GetTaskRunner to be meaningful.
// This must be called only after an AudioManager instance is created.
- static void StartHangMonitor(
+ static void StartHangMonitorIfNeeded(
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
// Enables non-crash dumps when audio thread hangs are detected.
« no previous file with comments | « media/audio/android/audio_manager_android.cc ('k') | media/audio/audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698