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

Issue 344613003: Record GCM received data message intervals in UMA (Closed)

Created:
6 years, 6 months ago by juyik
Modified:
6 years, 5 months ago
Reviewers:
jianli, fgorski
CC:
chromium-reviews, jianli, Chirantan Ekbote
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Record GCM received data message intervals in UMA. BUG=386273 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283847

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed Jian's and Filip's comments #

Total comments: 12

Patch Set 3 : Addressed Filip's comments. #

Patch Set 4 : Fixed format issues. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M components/gcm_driver/gcm_stats_recorder_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_stats_recorder_impl.cc View 1 2 3 2 chunks +15 lines, -0 lines 1 comment Download

Messages

Total messages: 18 (0 generated)
juyik
6 years, 6 months ago (2014-06-18 19:17:21 UTC) #1
fgorski
https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode369 components/gcm_driver/gcm_stats_recorder_impl.cc:369: if (last_data_message_received_timestamp_ > 0) { will this trigger only ...
6 years, 6 months ago (2014-06-18 20:06:19 UTC) #2
jianli
https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode368 components/gcm_driver/gcm_stats_recorder_impl.cc:368: int64 new_timestamp = clock_->Now().ToTimeT(); Why not calling Time::Now()?
6 years, 6 months ago (2014-06-19 17:24:07 UTC) #3
fgorski
Update on the review. I think if you update the if statement this is exactly ...
6 years, 6 months ago (2014-06-20 14:23:45 UTC) #4
juyik
https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/1/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode368 components/gcm_driver/gcm_stats_recorder_impl.cc:368: int64 new_timestamp = clock_->Now().ToTimeT(); On 2014/06/19 17:24:06, jianli wrote: ...
6 years, 5 months ago (2014-07-15 23:42:13 UTC) #5
fgorski
Logic is OK, but I'd use base::Time and base::TimeDelta to ensure precision. https://codereview.chromium.org/344613003/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc ...
6 years, 5 months ago (2014-07-16 04:11:11 UTC) #6
fgorski
Found one more issue. https://codereview.chromium.org/344613003/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode374 components/gcm_driver/gcm_stats_recorder_impl.cc:374: new_timestamp - last_data_message_received_timestamp_); One more ...
6 years, 5 months ago (2014-07-16 04:32:25 UTC) #7
juyik
https://codereview.chromium.org/344613003/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/20001/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode19 components/gcm_driver/gcm_stats_recorder_impl.cc:19: const int64 RECEIVED_DATA_MESSAGE_BUSRT_SECONDS = 2; On 2014/07/16 04:11:11, fgorski ...
6 years, 5 months ago (2014-07-16 17:49:24 UTC) #8
fgorski
lgtm
6 years, 5 months ago (2014-07-16 18:19:11 UTC) #9
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 5 months ago (2014-07-16 18:26:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/344613003/60001
6 years, 5 months ago (2014-07-16 18:31:47 UTC) #11
Chirantan Ekbote
https://codereview.chromium.org/344613003/diff/60001/components/gcm_driver/gcm_stats_recorder_impl.cc File components/gcm_driver/gcm_stats_recorder_impl.cc (right): https://codereview.chromium.org/344613003/diff/60001/components/gcm_driver/gcm_stats_recorder_impl.cc#newcode384 components/gcm_driver/gcm_stats_recorder_impl.cc:384: to_registered_app ? std::string() : This isn't a part of ...
6 years, 5 months ago (2014-07-16 23:49:06 UTC) #12
chromium-reviews
True. I will fix this in another patch. On Wed, Jul 16, 2014 at 4:49 ...
6 years, 5 months ago (2014-07-16 23:58:31 UTC) #13
fgorski
On 2014/07/16 23:58:31, chromium-reviews wrote: > True. I will fix this in another patch. > ...
6 years, 5 months ago (2014-07-17 04:04:01 UTC) #14
juyik
The CQ bit was unchecked by juyik@chromium.org
6 years, 5 months ago (2014-07-17 04:34:50 UTC) #15
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 5 months ago (2014-07-17 18:05:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/344613003/60001
6 years, 5 months ago (2014-07-17 18:07:18 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 20:09:25 UTC) #18
Message was sent while issue was closed.
Change committed as 283847

Powered by Google App Engine
This is Rietveld 408576698