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

Issue 475463002: Cast channel logging: log additional statistics. (Closed)

Created:
6 years, 4 months ago by imcheng
Modified:
6 years, 4 months ago
Reviewers:
mark a. foltz, Wez
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@REAL-NEW-MASTER
Project:
chromium
Visibility:
Public.

Description

Cast channel logging: log additional statistics. - bytes read / written per socket - total bytes read / written across all sockets Also changed the Logger class to hold a Log proto instead of individual fields. BUG=343228 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290009

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed Wez's comment #

Patch Set 4 : Addressed mfoltz's comments #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -29 lines) Patch
M extensions/browser/api/cast_channel/cast_socket.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M extensions/browser/api/cast_channel/logger.h View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download
M extensions/browser/api/cast_channel/logger.cc View 1 2 3 4 5 8 chunks +30 lines, -18 lines 0 comments Download
M extensions/browser/api/cast_channel/logger_unittest.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
M extensions/browser/api/cast_channel/logging.proto View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
imcheng
PTAL. I will merge this with https://codereview.chromium.org/456213002/ once it's submitted.
6 years, 4 months ago (2014-08-13 18:10:00 UTC) #1
mark a. foltz
https://codereview.chromium.org/475463002/diff/20001/extensions/browser/api/cast_channel/logger.cc File extensions/browser/api/cast_channel/logger.cc (right): https://codereview.chromium.org/475463002/diff/20001/extensions/browser/api/cast_channel/logger.cc#newcode128 extensions/browser/api/cast_channel/logger.cc:128: ->second->aggregated_socket_event; Is this lookup guaranteed to succeed? https://codereview.chromium.org/475463002/diff/20001/extensions/browser/api/cast_channel/logging.proto File ...
6 years, 4 months ago (2014-08-13 22:06:31 UTC) #2
imcheng
https://codereview.chromium.org/475463002/diff/20001/extensions/browser/api/cast_channel/logger.cc File extensions/browser/api/cast_channel/logger.cc (right): https://codereview.chromium.org/475463002/diff/20001/extensions/browser/api/cast_channel/logger.cc#newcode128 extensions/browser/api/cast_channel/logger.cc:128: ->second->aggregated_socket_event; On 2014/08/13 22:06:31, mark a. foltz wrote: > ...
6 years, 4 months ago (2014-08-14 00:24:34 UTC) #3
mark a. foltz
Lgtm Could LogSocketEvent just return the aggregated event struct that was logged to instead of ...
6 years, 4 months ago (2014-08-14 05:57:35 UTC) #4
Wez
lgtm https://codereview.chromium.org/475463002/diff/60001/extensions/browser/api/cast_channel/logger.cc File extensions/browser/api/cast_channel/logger.cc (right): https://codereview.chromium.org/475463002/diff/60001/extensions/browser/api/cast_channel/logger.cc#newcode263 extensions/browser/api/cast_channel/logger.cc:263: log.CopyFrom(log_); nit: This is just to get the ...
6 years, 4 months ago (2014-08-14 18:44:35 UTC) #5
imcheng
https://codereview.chromium.org/475463002/diff/60001/extensions/browser/api/cast_channel/logger.cc File extensions/browser/api/cast_channel/logger.cc (right): https://codereview.chromium.org/475463002/diff/60001/extensions/browser/api/cast_channel/logger.cc#newcode263 extensions/browser/api/cast_channel/logger.cc:263: log.CopyFrom(log_); On 2014/08/14 18:44:35, Wez wrote: > nit: This ...
6 years, 4 months ago (2014-08-14 22:43:19 UTC) #6
imcheng
On 2014/08/14 05:57:35, mark a. foltz wrote: > Lgtm > > Could LogSocketEvent just return ...
6 years, 4 months ago (2014-08-15 04:26:12 UTC) #7
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 4 months ago (2014-08-15 04:26:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/475463002/120001
6 years, 4 months ago (2014-08-15 04:31:04 UTC) #9
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 4 months ago (2014-08-15 04:41:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/475463002/140001
6 years, 4 months ago (2014-08-15 04:44:31 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-15 07:37:22 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 16:29:12 UTC) #13
commit-bot: I haz the power
Failed to apply patch for extensions/browser/api/cast_channel/logger.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-15 16:29:13 UTC) #14
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 4 months ago (2014-08-15 17:07:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/475463002/160001
6 years, 4 months ago (2014-08-15 17:09:57 UTC) #16
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 4 months ago (2014-08-15 17:17:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/475463002/180001
6 years, 4 months ago (2014-08-15 17:19:42 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 19:57:03 UTC) #19
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 21:18:11 UTC) #20
Message was sent while issue was closed.
Committed patchset #7 (180001) as 290009

Powered by Google App Engine
This is Rietveld 408576698