| 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_INPUT_PORT_ANDROID_H_ | 5 #ifndef MEDIA_MIDI_MIDI_INPUT_PORT_ANDROID_H_ |
| 6 #define MEDIA_MIDI_MIDI_INPUT_PORT_ANDROID_H_ | 6 #define MEDIA_MIDI_MIDI_INPUT_PORT_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> |
| 10 #include <stdint.h> |
| 9 | 11 |
| 10 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
| 11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 12 | 14 |
| 13 namespace media { | 15 namespace media { |
| 14 namespace midi { | 16 namespace midi { |
| 15 | 17 |
| 16 class MidiInputPortAndroid final { | 18 class MidiInputPortAndroid final { |
| 17 public: | 19 public: |
| 18 class Delegate { | 20 class Delegate { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 | 44 |
| 43 private: | 45 private: |
| 44 base::android::ScopedJavaGlobalRef<jobject> raw_port_; | 46 base::android::ScopedJavaGlobalRef<jobject> raw_port_; |
| 45 Delegate* const delegate_; | 47 Delegate* const delegate_; |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 } // namespace midi | 50 } // namespace midi |
| 49 } // namespace media | 51 } // namespace media |
| 50 | 52 |
| 51 #endif // MEDIA_MIDI_MIDI_INPUT_PORT_ANDROID_H_ | 53 #endif // MEDIA_MIDI_MIDI_INPUT_PORT_ANDROID_H_ |
| OLD | NEW |