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

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

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: TAG name change s/media_midi/midi/ 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
« no previous file with comments | « media/midi/midi_manager_mac.cc ('k') | media/midi/midi_manager_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_manager_mac.h" 5 #include "media/midi/midi_manager_mac.h"
6 6
7 #include <CoreMIDI/MIDIServices.h> 7 #include <CoreMIDI/MIDIServices.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/synchronization/lock.h" 17 #include "base/synchronization/lock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace media {
21 namespace midi { 20 namespace midi {
22 21
23 namespace { 22 namespace {
24 23
25 void Noop(const MIDIPacketList*, void*, void*) {} 24 void Noop(const MIDIPacketList*, void*, void*) {}
26 25
27 class FakeMidiManagerClient : public MidiManagerClient { 26 class FakeMidiManagerClient : public MidiManagerClient {
28 public: 27 public:
29 FakeMidiManagerClient() 28 FakeMidiManagerClient()
30 : result_(Result::NOT_SUPPORTED), 29 : result_(Result::NOT_SUPPORTED),
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 EndSession(client.get()); 163 EndSession(client.get());
165 if (ep) 164 if (ep)
166 MIDIEndpointDispose(ep); 165 MIDIEndpointDispose(ep);
167 if (midi_client) 166 if (midi_client)
168 MIDIClientDispose(midi_client); 167 MIDIClientDispose(midi_client);
169 } 168 }
170 169
171 } // namespace 170 } // namespace
172 171
173 } // namespace midi 172 } // namespace midi
174 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_manager_mac.cc ('k') | media/midi/midi_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698