| Index: base/test/android/jni_test_util.h
|
| diff --git a/base/test/android/jni_test_util.h b/base/test/android/jni_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fc3795147130b681b26fb9038f757da25d3172d2
|
| --- /dev/null
|
| +++ b/base/test/android/jni_test_util.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include <vector>
|
| +
|
| +#include "base/android/scoped_java_ref.h"
|
| +
|
| +namespace base {
|
| +namespace android {
|
| +namespace test {
|
| +
|
| +// Returns an android.graphics.Point instance. The Point class is parcelable and
|
| +// useful for testing sending Parcelable objects over Mojo channels .
|
| +ScopedJavaLocalRef<jobject> CreateJavaPoint(jint x, jint y);
|
| +
|
| +bool AreJavaObjectsEqual(jobject object1, jobject object2);
|
| +
|
| +} // namespace test
|
| +} // namespace android
|
| +} // namespace base
|
|
|