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

Unified Diff: chrome/browser/profiles/profile_android.h

Issue 1308363003: Revert of jni_generator: Make all object-returning natives return ScopedJavaLocalRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: chrome/browser/profiles/profile_android.h
diff --git a/chrome/browser/profiles/profile_android.h b/chrome/browser/profiles/profile_android.h
index e6ed2c87da21a13b8bd22b965f36d877465ac7fb..b336342ca03a49dcb8c479b6cf5d1f7a796c742d 100644
--- a/chrome/browser/profiles/profile_android.h
+++ b/chrome/browser/profiles/profile_android.h
@@ -21,9 +21,7 @@
static Profile* FromProfileAndroid(jobject obj);
static bool RegisterProfileAndroid(JNIEnv* env);
- static base::android::ScopedJavaLocalRef<jobject> GetLastUsedProfile(
- JNIEnv* env,
- jclass clazz);
+ static jobject GetLastUsedProfile(JNIEnv* env, jclass clazz);
// Destroys this Profile when possible.
void DestroyWhenAppropriate(JNIEnv* env, jobject obj);
« no previous file with comments | « chrome/browser/invalidation/invalidation_service_factory_android.cc ('k') | chrome/browser/profiles/profile_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698