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

Unified Diff: content/browser/browser_main_loop.h

Issue 16025005: Web MIDI API back-end (work-in-progress) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add stub for non-OSX MIDIManagers Created 7 years, 6 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: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 30442a674d919de9d99609777e23f46470368527..3a902dbea0fcd9b25126e2b7c44383f8e537b8dc 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -20,6 +20,7 @@ class SystemMonitor;
namespace media {
class AudioManager;
+class MIDIManager;
}
namespace net {
@@ -74,6 +75,7 @@ class BrowserMainLoop {
// Can be called on any thread.
static media::AudioManager* GetAudioManager();
+ static media::MIDIManager* GetMIDIManager();
static AudioMirroringManager* GetAudioMirroringManager();
static MediaStreamManager* GetMediaStreamManager();
@@ -100,6 +102,7 @@ class BrowserMainLoop {
scoped_ptr<HighResolutionTimerManager> hi_res_timer_manager_;
scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
scoped_ptr<media::AudioManager> audio_manager_;
+ scoped_ptr<media::MIDIManager> midi_manager_;
scoped_ptr<AudioMirroringManager> audio_mirroring_manager_;
scoped_ptr<MediaStreamManager> media_stream_manager_;
// Per-process listener for online state changes.

Powered by Google App Engine
This is Rietveld 408576698