OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_android.h" | 5 #include "media/midi/midi_manager_android.h" |
6 | 6 |
7 #include "base/android/build_info.h" | 7 #include "base/android/build_info.h" |
| 8 #include "base/android/context_utils.h" |
8 #include "base/command_line.h" | 9 #include "base/command_line.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
11 #include "jni/MidiManagerAndroid_jni.h" | 12 #include "jni/MidiManagerAndroid_jni.h" |
12 #include "media/midi/midi_device_android.h" | 13 #include "media/midi/midi_device_android.h" |
13 #include "media/midi/midi_manager_usb.h" | 14 #include "media/midi/midi_manager_usb.h" |
14 #include "media/midi/midi_output_port_android.h" | 15 #include "media/midi/midi_output_port_android.h" |
15 #include "media/midi/midi_switches.h" | 16 #include "media/midi/midi_switches.h" |
16 #include "media/midi/usb_midi_device_factory_android.h" | 17 #include "media/midi/usb_midi_device_factory_android.h" |
17 | 18 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 158 } |
158 devices_.push_back(device.release()); | 159 devices_.push_back(device.release()); |
159 } | 160 } |
160 | 161 |
161 bool MidiManagerAndroid::Register(JNIEnv* env) { | 162 bool MidiManagerAndroid::Register(JNIEnv* env) { |
162 return RegisterNativesImpl(env); | 163 return RegisterNativesImpl(env); |
163 } | 164 } |
164 | 165 |
165 } // namespace midi | 166 } // namespace midi |
166 } // namespace media | 167 } // namespace media |
OLD | NEW |