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

Side by Side Diff: media/midi/midi_port_info.cc

Issue 1086073004: Web MIDI: namespace change from media to media::midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@null
Patch Set: (rebase) Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « media/midi/midi_port_info.h ('k') | media/midi/midi_result.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/midi/midi_port_info.h" 5 #include "media/midi/midi_port_info.h"
6 6
7 namespace media { 7 namespace media {
8 namespace midi {
8 9
9 MidiPortInfo::MidiPortInfo() {} 10 MidiPortInfo::MidiPortInfo() {}
10 11
11 MidiPortInfo::MidiPortInfo(const std::string& in_id, 12 MidiPortInfo::MidiPortInfo(const std::string& in_id,
12 const std::string& in_manufacturer, 13 const std::string& in_manufacturer,
13 const std::string& in_name, 14 const std::string& in_name,
14 const std::string& in_version, 15 const std::string& in_version,
15 MidiPortState in_state) 16 MidiPortState in_state)
16 : id(in_id), 17 : id(in_id),
17 manufacturer(in_manufacturer), 18 manufacturer(in_manufacturer),
18 name(in_name), 19 name(in_name),
19 version(in_version), 20 version(in_version),
20 state(in_state) {} 21 state(in_state) {}
21 22
22 MidiPortInfo::~MidiPortInfo() {} 23 MidiPortInfo::~MidiPortInfo() {}
23 24
24 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) 25 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info)
25 : id(info.id), 26 : id(info.id),
26 manufacturer(info.manufacturer), 27 manufacturer(info.manufacturer),
27 name(info.name), 28 name(info.name),
28 version(info.version), 29 version(info.version),
29 state(info.state) {} 30 state(info.state) {}
30 31
32 } // namespace midi
31 } // namespace media 33 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_port_info.h ('k') | media/midi/midi_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698