Enable ManagePasswordsBubbleViewTest.TwoTabsWtihBubble on linux x32.
[chromium-blink-merge.git] / media / midi / midi_manager_win.h
blob63096ab1ab6d0970751a7452368aa8c5d3f5125a
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_MIDI_MIDI_MANAGER_WIN_H_
6 #define MEDIA_MIDI_MIDI_MANAGER_WIN_H_
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/thread.h"
13 #include "media/midi/midi_manager.h"
15 namespace media {
17 class MidiManagerWin : public MidiManager {
18 public:
19 MidiManagerWin();
20 virtual ~MidiManagerWin();
22 // MidiManager implementation.
23 virtual void StartInitialization() override;
24 virtual void DispatchSendMidiData(MidiManagerClient* client,
25 uint32 port_index,
26 const std::vector<uint8>& data,
27 double timestamp) override;
29 private:
30 class InDeviceInfo;
31 class OutDeviceInfo;
32 std::vector<scoped_ptr<InDeviceInfo> > in_devices_;
33 std::vector<scoped_ptr<OutDeviceInfo> > out_devices_;
34 base::Thread send_thread_;
35 DISALLOW_COPY_AND_ASSIGN(MidiManagerWin);
38 } // namespace media
40 #endif // MEDIA_MIDI_MIDI_MANAGER_WIN_H_