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

Unified Diff: blimp/client/app/android/blimp_client_session_android.h

Issue 1962393004: Added a debug info UI for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added empty implementation for linux client Created 4 years, 7 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
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/blimp_client_session_android.h
diff --git a/blimp/client/app/android/blimp_client_session_android.h b/blimp/client/app/android/blimp_client_session_android.h
index 345a926810a2cf7355c9c7d81a8e0e010fab4c17..38d14f5281a836bc080b5994272b2c64d2eecf62 100644
--- a/blimp/client/app/android/blimp_client_session_android.h
+++ b/blimp/client/app/android/blimp_client_session_android.h
@@ -6,6 +6,7 @@
#define BLIMP_CLIENT_APP_ANDROID_BLIMP_CLIENT_SESSION_ANDROID_H_
#include "base/android/jni_android.h"
+#include "base/android/jni_array.h"
#include "base/macros.h"
#include "blimp/client/session/blimp_client_session.h"
@@ -33,6 +34,12 @@ class BlimpClientSessionAndroid : public BlimpClientSession {
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
+ // Returns an integer array to Java representing blimp debug statistics which
+ // contain bytes received, bytes sent, number of commits in order.
+ base::android::ScopedJavaLocalRef<jintArray> GetDebugInfo(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& jobj);
+
private:
~BlimpClientSessionAndroid() override;
« no previous file with comments | « blimp/client/BUILD.gn ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698