| 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_MANAGER_ANDROID_H_ | 5 #ifndef MEDIA_MIDI_MIDI_MANAGER_ANDROID_H_ |
| 6 #define MEDIA_MIDI_MIDI_MANAGER_ANDROID_H_ | 6 #define MEDIA_MIDI_MIDI_MANAGER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> |
| 10 #include <stdint.h> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/android/scoped_java_ref.h" | 13 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
| 13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
| 15 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 16 #include "media/midi/midi_input_port_android.h" | 18 #include "media/midi/midi_input_port_android.h" |
| 17 #include "media/midi/midi_manager.h" | 19 #include "media/midi/midi_manager.h" |
| 18 #include "media/midi/midi_scheduler.h" | 20 #include "media/midi/midi_scheduler.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 base::hash_map<MidiOutputPortAndroid*, size_t> output_port_to_index_; | 80 base::hash_map<MidiOutputPortAndroid*, size_t> output_port_to_index_; |
| 79 | 81 |
| 80 base::android::ScopedJavaGlobalRef<jobject> raw_manager_; | 82 base::android::ScopedJavaGlobalRef<jobject> raw_manager_; |
| 81 scoped_ptr<MidiScheduler> scheduler_; | 83 scoped_ptr<MidiScheduler> scheduler_; |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace midi | 86 } // namespace midi |
| 85 } // namespace media | 87 } // namespace media |
| 86 | 88 |
| 87 #endif // MEDIA_MIDI_MIDI_MANAGER_ANDROID_H_ | 89 #endif // MEDIA_MIDI_MIDI_MANAGER_ANDROID_H_ |
| OLD | NEW |