Index: blimp/client/app/android/blimp_client_session_android.cc |
diff --git a/blimp/client/app/android/blimp_client_session_android.cc b/blimp/client/app/android/blimp_client_session_android.cc |
index 88044493f3cedd1cd6d89c77757371f059712be6..bbe7841b56f43070df520558201983a59f039704 100644 |
--- a/blimp/client/app/android/blimp_client_session_android.cc |
+++ b/blimp/client/app/android/blimp_client_session_android.cc |
@@ -93,6 +93,14 @@ void BlimpClientSessionAndroid::OnDisconnected(int result) { |
env, net::ErrorToShortString(result)).obj()); |
} |
+void BlimpClientSessionAndroid::UpdateDebugInfo(int received, |
+ int sent, |
+ int commits) { |
+ JNIEnv* env = base::android::AttachCurrentThread(); |
+ Java_BlimpClientSession_updateDebugInfo(env, java_obj_.obj(), received, sent, |
+ commits); |
+} |
+ |
void BlimpClientSessionAndroid::Destroy(JNIEnv* env, |
const JavaParamRef<jobject>& jobj) { |
delete this; |
@@ -113,5 +121,12 @@ void BlimpClientSessionAndroid::OnAssignmentConnectionAttempted( |
BlimpClientSession::OnAssignmentConnectionAttempted(result, assignment); |
} |
+void BlimpClientSessionAndroid::EnableDebugInfo( |
Khushal
2016/05/18 00:23:00
Hmmm, I don't think we really need to explicitly d
Khushal
2016/05/18 20:41:10
Ignore this part of the comment, I thought you wer
shaktisahu
2016/05/19 21:39:18
I am not disabling the stat collection. The stats
|
+ JNIEnv* env, |
+ const base::android::JavaParamRef<jobject>& jobj, |
+ jboolean enable) { |
+ BlimpClientSession::EnableDebugInfo(enable); |
+} |
+ |
} // namespace client |
} // namespace blimp |