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

Issue 270613005: Implement stats reporting in Android client (Closed)

Created:
6 years, 7 months ago by Lambros
Modified:
6 years, 7 months ago
Reviewers:
Sergey Ulanov, rmsousa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement stats reporting in Android client This reports the same connection statistics and session change events that are currently reported by the web-app. Caveats: This does not provide Chrome or Webapp versions - instead it reports the Android OS version, and the app version, under differently-named keys. Session termination events don't seem to be reported. This is a limitation of the Android client that might not be easy to work around. BUG=368015 R=rmsousa@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269404

Patch Set 1 : #

Patch Set 2 : remoting/host versions of files for comparison #

Patch Set 3 : Use IqSender. Expire session IDs after 24 hours #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+639 lines, -1 line) Patch
M remoting/client/jni/chromoting_jni_instance.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 6 chunks +12 lines, -1 line 1 comment Download
A remoting/client/log_to_server.h View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
A remoting/client/log_to_server.cc View 1 2 1 chunk +194 lines, -0 lines 5 comments Download
A remoting/client/server_log_entry.h View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
A remoting/client/server_log_entry.cc View 1 2 1 chunk +238 lines, -0 lines 0 comments Download
M remoting/remoting_client.gypi View 2 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Lambros
There is some code duplication with the LogToServer and ServerLogEntry classes in remoting/host. Here I've ...
6 years, 7 months ago (2014-05-07 18:43:58 UTC) #1
rmsousa
Please just copy server_log_entry and log_to_server, and only change where needed (rather than rewriting those ...
6 years, 7 months ago (2014-05-07 19:14:10 UTC) #2
Lambros
PTAL. Diff between #2 and #3 will show what changes I've made to the remoting/host ...
6 years, 7 months ago (2014-05-08 02:03:48 UTC) #3
rmsousa
lgtm
6 years, 7 months ago (2014-05-09 00:38:47 UTC) #4
Lambros
The CQ bit was checked by lambroslambrou@chromium.org
6 years, 7 months ago (2014-05-09 02:45:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/270613005/60001
6 years, 7 months ago (2014-05-09 02:47:23 UTC) #6
Lambros
The CQ bit was unchecked by lambroslambrou@chromium.org
6 years, 7 months ago (2014-05-09 19:21:39 UTC) #7
Lambros
Committed patchset #3 manually as r269404 (presubmit successful).
6 years, 7 months ago (2014-05-09 20:49:06 UTC) #8
Sergey Ulanov
https://codereview.chromium.org/270613005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc File remoting/client/jni/chromoting_jni_instance.cc (right): https://codereview.chromium.org/270613005/diff/60001/remoting/client/jni/chromoting_jni_instance.cc#newcode341 remoting/client/jni/chromoting_jni_instance.cc:341: "remoting@bot.talk.google.com")); Move kDirectoryBotJid from remoting/host/service_urls.cc to remoting/base/constants.h? https://codereview.chromium.org/270613005/diff/60001/remoting/client/log_to_server.cc File ...
6 years, 7 months ago (2014-05-16 22:44:18 UTC) #9
Sergey Ulanov
On 2014/05/07 19:14:10, rmsousa wrote: > For the failure, the problem is that you're not ...
6 years, 7 months ago (2014-05-16 22:52:55 UTC) #10
Sergey Ulanov
6 years, 7 months ago (2014-05-16 22:56:57 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/270613005/diff/60001/remoting/client/log_to_s...
File remoting/client/log_to_server.cc (right):

https://codereview.chromium.org/270613005/diff/60001/remoting/client/log_to_s...
remoting/client/log_to_server.cc:121: iq_sender_.reset(new
IqSender(signal_strategy_));
It's not really necessary. IqSender can be created only once in the constructor,
and then it should be able to handle the case when signaling is down (by
returning NULL from SendIq()).

Powered by Google App Engine
This is Rietveld 408576698