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

Unified Diff: chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc

Issue 2191743002: Setup the delegate in Chrome, so we may put chrome java functions we need in blimp to the delegate … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue when moving around code. Created 4 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
Index: chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc
diff --git a/chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc b/chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc
index 1c7f6a15ff7967b3cbbaec857abc021470300b05..64374883ccd7aff985572c50a1f31e63b957f7ee 100644
--- a/chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc
+++ b/chrome/browser/android/blimp/chrome_blimp_client_context_delegate_android.cc
@@ -33,6 +33,11 @@ ChromeBlimpClientContextDelegateAndroid::
java_obj_.Reset(env, jobj);
}
+base::android::ScopedJavaLocalRef<jobject>
+ ChromeBlimpClientContextDelegateAndroid::GetJavaObject() {
+ return base::android::ScopedJavaLocalRef<jobject>(java_obj_);
+}
+
void ChromeBlimpClientContextDelegateAndroid::Destroy(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& jobj) {

Powered by Google App Engine
This is Rietveld 408576698