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

Unified Diff: base/android/jni_android.h

Issue 7551018: Added the comment for GetApplicationContext() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_android.h
diff --git a/base/android/jni_android.h b/base/android/jni_android.h
index 0e34724d7aee7e470b61f10251f545e8ac5f2847..9a158950210c2bf5c2c17f146866f3ea58e9ac54 100644
--- a/base/android/jni_android.h
+++ b/base/android/jni_android.h
@@ -27,6 +27,7 @@ void InitVM(JavaVM* vm);
// TODO: We might combine InitVM() and InitApplicationContext() into one method.
void InitApplicationContext(jobject context);
+// Returns the application context assigned by InitApplicationContext().
jobject GetApplicationContext();
// Get the method ID for a method. Will clear the pending Java
@@ -42,4 +43,5 @@ bool CheckException(JNIEnv* env);
} // namespace android
} // namespace base
-#endif
+
+#endif // BASE_ANDROID_JNI_ANDROID_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698