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

Unified Diff: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: TAG name change s/media_midi/midi/ Created 4 years, 2 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
Index: media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
diff --git a/media/midi/java/src/org/chromium/media/midi/MidiManagerAndroid.java b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
similarity index 93%
rename from media/midi/java/src/org/chromium/media/midi/MidiManagerAndroid.java
rename to media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
index 32f0e8670e09a1afc702e52775905d3730b4fd35..410fbbd0039fe75f735950086dff923187e47a27 100644
--- a/media/midi/java/src/org/chromium/media/midi/MidiManagerAndroid.java
+++ b/media/midi/java/src/org/chromium/midi/MidiManagerAndroid.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.media.midi;
+package org.chromium.midi;
import android.annotation.TargetApi;
import android.content.Context;
@@ -22,9 +22,9 @@ import java.util.List;
import java.util.Set;
/**
- * A Java class implementing media::midi::MidiManagerAndroid functionality.
+ * A Java class implementing midi::MidiManagerAndroid functionality.
*/
-@JNINamespace("media::midi")
+@JNINamespace("midi")
@TargetApi(Build.VERSION_CODES.M)
class MidiManagerAndroid {
/**
@@ -48,14 +48,14 @@ class MidiManagerAndroid {
*/
private final Handler mHandler;
/**
- * The associated media::midi::MidiDeviceAndroid instance.
+ * The associated midi::MidiDeviceAndroid instance.
*/
private final long mNativeManagerPointer;
/**
* A creation function called by C++.
* @param context
- * @param nativeManagerPointer The native pointer to a media::midi::MidiManagerAndroid object.
+ * @param nativeManagerPointer The native pointer to a midi::MidiManagerAndroid object.
*/
@CalledByNative
static MidiManagerAndroid create(Context context, long nativeManagerPointer) {
@@ -64,7 +64,7 @@ class MidiManagerAndroid {
/**
* @param context
- * @param nativeManagerPointer The native pointer to a media::midi::MidiManagerAndroid object.
+ * @param nativeManagerPointer The native pointer to a midi::MidiManagerAndroid object.
*/
private MidiManagerAndroid(Context context, long nativeManagerPointer) {
assert ThreadUtils.runningOnUiThread();

Powered by Google App Engine
This is Rietveld 408576698