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

Unified Diff: base/android/jni_array.h

Issue 1314753002: [Android] Adding JavaLongArrayToInt64Vector method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing reinterpret_cast Created 5 years, 4 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 | « no previous file | base/android/jni_array.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_array.h
diff --git a/base/android/jni_array.h b/base/android/jni_array.h
index 0d7ec2ea03b28017e9cddeb42f1658a8a1c5fc94..122b88ca2912ed268a02b77a419e7e35fb6e50cd 100644
--- a/base/android/jni_array.h
+++ b/base/android/jni_array.h
@@ -74,6 +74,12 @@ BASE_EXPORT void JavaIntArrayToIntVector(
std::vector<int>* out);
// Replaces the content of |out| with the Java longs in |long_array|.
+BASE_EXPORT void JavaLongArrayToInt64Vector(
+ JNIEnv* env,
+ jlongArray long_array,
+ std::vector<int64>* out);
+
+// Replaces the content of |out| with the Java longs in |long_array|.
BASE_EXPORT void JavaLongArrayToLongVector(
JNIEnv* env,
jlongArray long_array,
« no previous file with comments | « no previous file | base/android/jni_array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698