diff options
author | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 02:08:15 +0000 |
---|---|---|
committer | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 02:08:15 +0000 |
commit | 5f6f9bce342075bea590cb69914d97eb3bdde29a (patch) | |
tree | a10c77431a369a15188a0e9fd3a89adc1ff0dbc8 /media/midi/midi_port_info.h | |
parent | 68db1854c53776b1c97f6da4ad5d95d8803371ae (diff) | |
download | chromium_src-5f6f9bce342075bea590cb69914d97eb3bdde29a.zip chromium_src-5f6f9bce342075bea590cb69914d97eb3bdde29a.tar.gz chromium_src-5f6f9bce342075bea590cb69914d97eb3bdde29a.tar.bz2 |
don't include iostream.h
use ChildThread for main loop - fix Android build
whitespace fix
minor style fix
last minute compile fixes
address Antoine's comments
minor changes to reflect latest Blink API -- address palmer comments
last minute include order fix
address last minute style nits
stub out other OSes
support Takashi's MIDIAccessor
fix minor build err
undo param traits changes
get rid of param_traits - other minor style nits
address scherkus comments
use int64 for ParamTraits
WIP fix white-space issues more style basically working some cleanup -- support for multiple clients forgot midi_manager.cc Get MIDI port information sent to renderer formatting fixes lots of cleanup - added RequestAccess and Send style more style only bother sending received messages to renderer if approval was asked early steps to granting permission to Blink some progress to sending port info to Blink send client_id when requesting access fix minor style issues in .gyp files fix context/browser DEPS fix include paths
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/midi/midi_port_info.h')
-rw-r--r-- | media/midi/midi_port_info.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media/midi/midi_port_info.h b/media/midi/midi_port_info.h new file mode 100644 index 0000000..f4afb49 --- /dev/null +++ b/media/midi/midi_port_info.h @@ -0,0 +1,36 @@ +// Copyright (c) 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MEDIA_MIDI_MIDI_PORT_INFO_H_ +#define MEDIA_MIDI_MIDI_PORT_INFO_H_ + +#include <string> +#include <vector> + +#include "base/basictypes.h" +#include "media/base/media_export.h" + +namespace media { + +struct MEDIA_EXPORT MIDIPortInfo { + MIDIPortInfo(); + MIDIPortInfo(const std::string& in_id, + const std::string& in_manufacturer, + const std::string& in_name, + const std::string& in_version); + + MIDIPortInfo(const MIDIPortInfo& info); + ~MIDIPortInfo(); + + std::string id; + std::string manufacturer; + std::string name; + std::string version; +}; + +typedef std::vector<MIDIPortInfo> MIDIPortInfoList; + +} // namespace media + +#endif // MEDIA_MIDI_MIDI_PORT_INFO_H_ |