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

Unified Diff: media/midi/usb_midi_device_factory_android.cc

Issue 1085843003: Revert of Web MIDI: split build rules for media/midi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/midi/usb_midi_device_android.cc ('k') | media/midi/usb_midi_output_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/usb_midi_device_factory_android.cc
diff --git a/media/midi/usb_midi_device_factory_android.cc b/media/midi/usb_midi_device_factory_android.cc
index f0664285a58e2349e465c0b977a8410de4b3a8e9..6302572f9332a2050b440c9b59447589a67dfd67 100644
--- a/media/midi/usb_midi_device_factory_android.cc
+++ b/media/midi/usb_midi_device_factory_android.cc
@@ -30,7 +30,7 @@
UsbMidiDeviceFactoryAndroid::~UsbMidiDeviceFactoryAndroid() {
JNIEnv* env = base::android::AttachCurrentThread();
if (!raw_factory_.is_null())
- midi::Java_UsbMidiDeviceFactoryAndroid_close(
+ Java_UsbMidiDeviceFactoryAndroid_close(
env, raw_factory_.obj(), base::android::GetApplicationContext());
}
@@ -40,13 +40,13 @@
DCHECK(!delegate_);
JNIEnv* env = base::android::AttachCurrentThread();
uintptr_t pointer = reinterpret_cast<uintptr_t>(this);
- raw_factory_.Reset(midi::Java_UsbMidiDeviceFactoryAndroid_create(
+ raw_factory_.Reset(Java_UsbMidiDeviceFactoryAndroid_create(
env, base::android::GetApplicationContext(), pointer));
delegate_ = delegate;
callback_ = callback;
- if (midi::Java_UsbMidiDeviceFactoryAndroid_enumerateDevices(
+ if (Java_UsbMidiDeviceFactoryAndroid_enumerateDevices(
env, raw_factory_.obj(), base::android::GetApplicationContext())) {
// Asynchronous operation.
return;
@@ -92,7 +92,7 @@
}
bool UsbMidiDeviceFactoryAndroid::RegisterUsbMidiDeviceFactory(JNIEnv* env) {
- return midi::RegisterNativesImpl(env);
+ return RegisterNativesImpl(env);
}
} // namespace media
« no previous file with comments | « media/midi/usb_midi_device_android.cc ('k') | media/midi/usb_midi_output_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698