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

Unified Diff: content/browser/browser_main_loop.h

Issue 2558303004: Cleanup AudioDeviceThread to avoid accidental misuse. (Closed)
Patch Set: Rename to AudioManagerThread. Fix tests. 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
« no previous file with comments | « content/browser/audio_manager_thread.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index b3c357de44f5a9bb3c05ddc55308f3112f631ef4..77c98c5e9a1719cf05849ae6dc6dcb4d1e05ab91 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -72,7 +72,7 @@ class ClientNativePixmapFactory;
#endif
namespace content {
-class AudioDeviceThread;
+class AudioManagerThread;
class BrowserMainParts;
class BrowserOnlineStateObserver;
class BrowserThreadImpl;
@@ -288,7 +288,7 @@ class CONTENT_EXPORT BrowserMainLoop {
// |user_input_monitor_| has to outlive |audio_manager_|, so declared first.
std::unique_ptr<media::UserInputMonitor> user_input_monitor_;
// AudioThread needs to outlive |audio_manager_|.
- std::unique_ptr<AudioDeviceThread> audio_thread_;
+ std::unique_ptr<AudioManagerThread> audio_thread_;
media::ScopedAudioManagerPtr audio_manager_;
std::unique_ptr<midi::MidiManager> midi_manager_;
« no previous file with comments | « content/browser/audio_manager_thread.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698