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

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

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: one more rename to be consistent Created 4 years, 2 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
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 {
8 namespace midi { 7 namespace midi {
9 8
10 MidiPortInfo::MidiPortInfo() {} 9 MidiPortInfo::MidiPortInfo() {}
11 10
12 MidiPortInfo::MidiPortInfo(const std::string& in_id, 11 MidiPortInfo::MidiPortInfo(const std::string& in_id,
13 const std::string& in_manufacturer, 12 const std::string& in_manufacturer,
14 const std::string& in_name, 13 const std::string& in_name,
15 const std::string& in_version, 14 const std::string& in_version,
16 MidiPortState in_state) 15 MidiPortState in_state)
17 : id(in_id), 16 : id(in_id),
18 manufacturer(in_manufacturer), 17 manufacturer(in_manufacturer),
19 name(in_name), 18 name(in_name),
20 version(in_version), 19 version(in_version),
21 state(in_state) {} 20 state(in_state) {}
22 21
23 MidiPortInfo::~MidiPortInfo() {} 22 MidiPortInfo::~MidiPortInfo() {}
24 23
25 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info) 24 MidiPortInfo::MidiPortInfo(const MidiPortInfo& info)
26 : id(info.id), 25 : id(info.id),
27 manufacturer(info.manufacturer), 26 manufacturer(info.manufacturer),
28 name(info.name), 27 name(info.name),
29 version(info.version), 28 version(info.version),
30 state(info.state) {} 29 state(info.state) {}
31 30
32 } // namespace midi 31 } // namespace midi
33 } // namespace media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698