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

Unified Diff: base/android/jni_generator/sample_for_tests.h

Issue 115103002: Android: sync up latest JNI generator changes from downstream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "D"CHECK -> CHECK Created 6 years, 11 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/android/jni_generator/sample_for_tests.h
diff --git a/base/android/jni_generator/sample_for_tests.h b/base/android/jni_generator/sample_for_tests.h
index 278008b2df769fb4d3edafd2d7e1e12196a8f4fd..4d76408b686b64b0d2dc61e85a0931e0a37d7983 100644
--- a/base/android/jni_generator/sample_for_tests.h
+++ b/base/android/jni_generator/sample_for_tests.h
@@ -6,6 +6,7 @@
#include <map>
#include <string>
+#include "base/android/jni_android.h"
#include "base/basictypes.h"
namespace base {
@@ -36,6 +37,9 @@ class CPPClass {
void IterateAndDoSomethingWithStructB(JNIEnv* env, jobject obj);
+ base::android::ScopedJavaLocalRef<jstring> ReturnAString(
+ JNIEnv* env, jobject obj);
+
private:
std::map<long, std::string> map_;

Powered by Google App Engine
This is Rietveld 408576698