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

Unified Diff: base/android/jni_array.h

Issue 1543293003: Switch to standard integer types in base/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/jni_android.cc ('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 86e63c5d1dc91ab17306059ab8eb3599a66fa863..34e5bba7938c35feae85f6c1fd90c563f1359ffb 100644
--- a/base/android/jni_array.h
+++ b/base/android/jni_array.h
@@ -6,6 +6,7 @@
#define BASE_ANDROID_JNI_ARRAY_H_
#include <jni.h>
+#include <stddef.h>
#include <stdint.h>
#include <string>
#include <vector>
@@ -32,7 +33,7 @@ BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
BASE_EXPORT ScopedJavaLocalRef<jintArray> ToJavaIntArray(
JNIEnv* env, const std::vector<int>& ints);
-// Returns a new Java long array converted from the given int64 array.
+// Returns a new Java long array converted from the given int64_t array.
BASE_EXPORT ScopedJavaLocalRef<jlongArray> ToJavaLongArray(JNIEnv* env,
const int64_t* longs,
size_t len);
« no previous file with comments | « base/android/jni_android.cc ('k') | base/android/jni_array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698