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

Issue 248213004: Record connection, registration, and receiving activities. (Closed)

Created:
6 years, 8 months ago by juyik
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fgorski
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement connection, registration, and receiving activities recording on the google apis side, for gcm-internals page. arv: please do owner review for chrome/browser/ui/webui/* BUG=341256 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267008

Patch Set 1 #

Patch Set 2 : . #

Total comments: 24

Patch Set 3 : Addressing Jian's comments. #

Patch Set 4 : . #

Total comments: 8

Patch Set 5 : Addressing zea's and jian's comments. #

Patch Set 6 : Add struct constructor/destructor. #

Total comments: 2

Patch Set 7 : Addressing zea's comment. #

Patch Set 8 : Resolve apply conflicts. #

Patch Set 9 : . #

Patch Set 10 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+839 lines, -69 lines) Patch
M chrome/browser/ui/webui/gcm_internals_ui.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.h View 3 chunks +6 lines, -1 line 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 2 3 4 8 chunks +12 lines, -2 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl_unittest.cc View 3 chunks +4 lines, -1 line 0 comments Download
M google_apis/gcm/engine/registration_request.h View 3 chunks +7 lines, -1 line 0 comments Download
M google_apis/gcm/engine/registration_request.cc View 1 2 4 chunks +17 lines, -1 line 0 comments Download
M google_apis/gcm/engine/registration_request_unittest.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M google_apis/gcm/engine/unregistration_request.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M google_apis/gcm/engine/unregistration_request.cc View 1 2 5 chunks +9 lines, -1 line 0 comments Download
M google_apis/gcm/engine/unregistration_request_unittest.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M google_apis/gcm/gcm_client.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/gcm_client_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M google_apis/gcm/gcm_client_impl.cc View 1 2 3 4 5 6 7 chunks +23 lines, -8 lines 0 comments Download
M google_apis/gcm/gcm_client_impl_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M google_apis/gcm/monitoring/gcm_stats_recorder.h View 1 2 3 4 5 6 7 chunks +131 lines, -4 lines 0 comments Download
M google_apis/gcm/monitoring/gcm_stats_recorder.cc View 1 2 3 4 5 6 7 chunks +314 lines, -22 lines 0 comments Download
M google_apis/gcm/monitoring/gcm_stats_recorder_unittest.cc View 1 2 3 4 5 6 7 chunks +290 lines, -18 lines 0 comments Download
M google_apis/gcm/tools/mcs_probe.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
juyik
6 years, 8 months ago (2014-04-23 04:54:50 UTC) #1
jianli
How about unregistration? https://codereview.chromium.org/248213004/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/248213004/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode242 google_apis/gcm/engine/connection_factory_impl.cc:242: GURL cur_endpoint = GetCurrentEndpoint(); nit: avoid ...
6 years, 8 months ago (2014-04-23 17:22:34 UTC) #2
jianli
For unregistration, it is fine to tackle it in a separate patch. On Wed, Apr ...
6 years, 8 months ago (2014-04-23 17:55:58 UTC) #3
juyik
Added recording for unregistration as well. https://codereview.chromium.org/248213004/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/248213004/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode242 google_apis/gcm/engine/connection_factory_impl.cc:242: GURL cur_endpoint = ...
6 years, 8 months ago (2014-04-23 21:36:55 UTC) #4
jianli
lgtm https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/gcm_client_impl.cc File google_apis/gcm/gcm_client_impl.cc (right): https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/gcm_client_impl.cc#newcode708 google_apis/gcm/gcm_client_impl.cc:708: recorder_.RecordDataMessageRecieved(app_id, data_message_stanza.from(), You can combine this recording with ...
6 years, 8 months ago (2014-04-23 23:16:38 UTC) #5
Nicolas Zea
https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc#newcode297 google_apis/gcm/engine/connection_factory_impl.cc:297: LOG(ERROR) << "Failed to connect to MCS endpoint with ...
6 years, 8 months ago (2014-04-23 23:37:04 UTC) #6
juyik
https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/248213004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc#newcode297 google_apis/gcm/engine/connection_factory_impl.cc:297: LOG(ERROR) << "Failed to connect to MCS endpoint with ...
6 years, 8 months ago (2014-04-24 00:53:45 UTC) #7
Nicolas Zea
LGTM with a nit https://codereview.chromium.org/248213004/diff/90001/google_apis/gcm/monitoring/gcm_stats_recorder.h File google_apis/gcm/monitoring/gcm_stats_recorder.h (right): https://codereview.chromium.org/248213004/diff/90001/google_apis/gcm/monitoring/gcm_stats_recorder.h#newcode154 google_apis/gcm/monitoring/gcm_stats_recorder.h:154: bool to_registered_app, nit: style guide ...
6 years, 8 months ago (2014-04-24 21:37:42 UTC) #8
juyik
Hi arv, can you do an owner review of 1 file? Thanks. https://codereview.chromium.org/248213004/diff/90001/google_apis/gcm/monitoring/gcm_stats_recorder.h File google_apis/gcm/monitoring/gcm_stats_recorder.h ...
6 years, 8 months ago (2014-04-25 20:37:38 UTC) #9
arv (Not doing code reviews)
Rubber stamp LGTM
6 years, 7 months ago (2014-04-28 16:55:45 UTC) #10
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 7 months ago (2014-04-28 20:25:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/248213004/130001
6 years, 7 months ago (2014-04-28 20:26:14 UTC) #12
juyik
The CQ bit was unchecked by juyik@chromium.org
6 years, 7 months ago (2014-04-28 22:36:37 UTC) #13
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 7 months ago (2014-04-28 23:21:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/248213004/150001
6 years, 7 months ago (2014-04-28 23:21:49 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 00:40:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-29 00:40:07 UTC) #17
juyik
The CQ bit was checked by juyik@chromium.org
6 years, 7 months ago (2014-04-29 17:58:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/juyik@chromium.org/248213004/170001
6 years, 7 months ago (2014-04-29 17:59:53 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 00:39:15 UTC) #20
Message was sent while issue was closed.
Change committed as 267008

Powered by Google App Engine
This is Rietveld 408576698