OLD | NEW |
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 #ifndef MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ | 5 #ifndef MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ |
6 #define MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ | 6 #define MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "media/midi/midi_export.h" | 10 #include "media/midi/midi_export.h" |
11 | 11 |
12 namespace media { | |
13 namespace midi { | 12 namespace midi { |
14 | 13 |
15 // Register all JNI bindings necessary for media/midi. | 14 // Register all JNI bindings necessary for media/midi. |
16 MIDI_EXPORT bool RegisterJni(JNIEnv* env); | 15 MIDI_EXPORT bool RegisterJni(JNIEnv* env); |
17 | 16 |
18 } // namespace midi | 17 } // namespace midi |
19 } // namespace media | |
20 | 18 |
21 #endif // MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ | 19 #endif // MEDIA_MIDI_MIDI_JNI_REGISTRAR_H_ |
OLD | NEW |