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

Unified Diff: base/android/jni_array.h

Issue 874543003: Add support for TraceEvent before the native library is loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments, cleanup and a JNI unittest. Created 5 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
« no previous file with comments | « base/android/javatests/src/org/chromium/base/EarlyTraceEventTest.java ('k') | 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..13de1463decd5ab411aee22883b7b49b68c18b3f 100644
--- a/base/android/jni_array.h
+++ b/base/android/jni_array.h
@@ -61,6 +61,12 @@ BASE_EXPORT void AppendJavaByteArrayToByteVector(
jbyteArray byte_array,
std::vector<uint8>* out);
+// Appends the Java longs in |longs_array| onto the end of |out|.
+BASE_EXPORT void AppendJavaLongArrayToLongVector(
+ JNIEnv* env,
+ jlongArray long_array,
+ std::vector<int64_t>* out);
+
// Replaces the content of |out| with the Java bytes in |bytes_array|.
BASE_EXPORT void JavaByteArrayToByteVector(
JNIEnv* env,
« no previous file with comments | « base/android/javatests/src/org/chromium/base/EarlyTraceEventTest.java ('k') | base/android/jni_array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698