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

Side by Side Diff: content/browser/renderer_host/java/jni_helper.h

Issue 23835020: Android: cleanup jni_android to minimize external dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_
7
8 #include <jni.h>
9
joth 2013/09/24 13:31:49 content namespace
bulach 2013/09/24 14:43:34 Done.
10 // Gets the method ID from the class name. Clears the pending Java exception
11 // and returns NULL if the method is not found. Caches results.
12 // Strings passed to this function are held in the cache and MUST remain valid
13 // beyond the duration of all future calls to this function, across all
14 // threads. In practice, this means that the function should only be used with
15 // string constants.
16 jmethodID GetMethodIDFromClassName(JNIEnv* env,
17 const char* class_name,
18 const char* method,
19 const char* jni_signature);
20
21 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698