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

Unified Diff: base/test/android/jni_test_util.h

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: Created 3 years, 9 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: 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
« no previous file with comments | « base/test/android/java/src/org/chromium/base/MultiprocessTestClientService.java ('k') | base/test/android/jni_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698