summaryrefslogtreecommitdiffstats
path: root/media/midi/midi_manager_mac.h
diff options
context:
space:
mode:
authortoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 17:17:32 +0000
committertoyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-01 17:17:32 +0000
commit2b5376897c5d21b15c350383f810a9e0bb975ae3 (patch)
tree4f427897983803937129966dfbeb0e1f250925ab /media/midi/midi_manager_mac.h
parent6e9f63759e3b56ebedfd511f7735df949e2d5267 (diff)
downloadchromium_src-2b5376897c5d21b15c350383f810a9e0bb975ae3.zip
chromium_src-2b5376897c5d21b15c350383f810a9e0bb975ae3.tar.gz
chromium_src-2b5376897c5d21b15c350383f810a9e0bb975ae3.tar.bz2
Web MIDI: make platform dependent initialization asynchronous
Since Android port needs asynchronous initialization, MIDIManager should provide asynchronous initialization scheme for platform dependent initialization. BUG=339746 TEST=out/Debug/media_unittests --gtest_filter='Midi*.*' Review URL: https://codereview.chromium.org/253493008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/midi/midi_manager_mac.h')
-rw-r--r--media/midi/midi_manager_mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/midi/midi_manager_mac.h b/media/midi/midi_manager_mac.h
index 5bd072d..5c514ff 100644
--- a/media/midi/midi_manager_mac.h
+++ b/media/midi/midi_manager_mac.h
@@ -24,7 +24,7 @@ class MEDIA_EXPORT MidiManagerMac : public MidiManager {
virtual ~MidiManagerMac();
// MidiManager implementation.
- virtual MidiResult Initialize() OVERRIDE;
+ virtual void StartInitialization() OVERRIDE;
virtual void DispatchSendMidiData(MidiManagerClient* client,
uint32 port_index,
const std::vector<uint8>& data,