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

Unified Diff: chrome/browser/sync/profile_sync_service_android.cc

Issue 67573003: Android: moves chrome/ to use long for JNI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/sync/profile_sync_service_android.cc
diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc
index 0ab68f219d98a94d633d419cf8401c8a1ac02554..b1f82f7ffad61515dd51def306b107f59dcf46c3 100644
--- a/chrome/browser/sync/profile_sync_service_android.cc
+++ b/chrome/browser/sync/profile_sync_service_android.cc
@@ -501,11 +501,11 @@ ProfileSyncServiceAndroid*
AttachCurrentThread(), base::android::GetApplicationContext()));
}
-static int Init(JNIEnv* env, jobject obj) {
+static jlong Init(JNIEnv* env, jobject obj) {
ProfileSyncServiceAndroid* profile_sync_service_android =
new ProfileSyncServiceAndroid(env, obj);
profile_sync_service_android->Init();
- return reinterpret_cast<jint>(profile_sync_service_android);
+ return reinterpret_cast<intptr_t>(profile_sync_service_android);
}
// static
« no previous file with comments | « chrome/browser/speech/tts_android.cc ('k') | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698