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

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

Issue 336313018: [Android] Move content/browser/{renderer_host => android}/java/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated paths for unit tests, rebased Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/android/java/java_type.cc ('k') | content/browser/android/java/jni_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_JNI_HELPER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_ 6 #define CONTENT_BROWSER_ANDROID_JAVA_JNI_HELPER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // Gets the method ID from the class name. Clears the pending Java exception 14 // Gets the method ID from the class name. Clears the pending Java exception
15 // and returns NULL if the method is not found. Caches results. 15 // and returns NULL if the method is not found. Caches results.
16 // Strings passed to this function are held in the cache and MUST remain valid 16 // Strings passed to this function are held in the cache and MUST remain valid
17 // beyond the duration of all future calls to this function, across all 17 // beyond the duration of all future calls to this function, across all
18 // threads. In practice, this means that the function should only be used with 18 // threads. In practice, this means that the function should only be used with
19 // string constants. 19 // string constants.
20 CONTENT_EXPORT jmethodID GetMethodIDFromClassName(JNIEnv* env, 20 CONTENT_EXPORT jmethodID GetMethodIDFromClassName(JNIEnv* env,
21 const char* class_name, 21 const char* class_name,
22 const char* method, 22 const char* method,
23 const char* jni_signature); 23 const char* jni_signature);
24 24
25 } // namespace content 25 } // namespace content
26 26
27 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JNI_HELPER_H_ 27 #endif // CONTENT_BROWSER_ANDROID_JAVA_JNI_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/android/java/java_type.cc ('k') | content/browser/android/java/jni_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698