Index: device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
diff --git a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
index 09da34b73c374d8bb8c71e197ddfd5455fd7651c..35fbf0e02a421543adebd3b09b4f824eaa86d60f 100644 |
--- a/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
+++ b/device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java |
@@ -26,6 +26,11 @@ import java.util.UUID; |
/** |
* Fake implementations of android.bluetooth.* classes for testing. |
+ * |
+ * Fakes are contained in a single file to simplify code. Only one C++ file may |
+ * access a Java file via JNI, and all of these classes are accessed by |
+ * bluetooth_test_android.cc. The alternative would be a C++ .h, .cc file for |
+ * each of these classes. |
*/ |
@JNINamespace("device") |
@TargetApi(Build.VERSION_CODES.LOLLIPOP) |