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

Issue 9826035: [Sync] Display the client server traffic log in about:sync. (Closed)

Created:
8 years, 9 months ago by lipalani1
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), arv (Not doing code reviews), akalin
Visibility:
Public.

Description

A new 'traffic' tab is introduced and clicking the button on the tab would display the traffic. BUG=117615 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130081

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : #

Patch Set 4 : For review. #

Patch Set 5 : For review. #

Patch Set 6 : #

Patch Set 7 : For review. #

Patch Set 8 : For review. #

Total comments: 24

Patch Set 9 : For review. #

Total comments: 8

Patch Set 10 : #

Patch Set 11 : For review. #

Patch Set 12 : For review. #

Total comments: 6

Patch Set 13 : For review. #

Patch Set 14 : For review. #

Patch Set 15 : For submitting. #

Patch Set 16 : For submitting. #

Patch Set 17 : For submitting. #

Patch Set 18 : For submitting #

Patch Set 19 : For submitting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -15 lines) Patch
M chrome/browser/resources/sync_internals/chrome_sync.js View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/sync_internals/sync_index.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/resources/sync_internals/traffic.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/browser/resources/sync_internals/traffic.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/resources/sync_internals_resources.grd View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/sync_internals_ui.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/engine/sync_scheduler_whitebox_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/engine/syncer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +9 lines, -2 lines 0 comments Download
M sync/engine/traffic_recorder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -0 lines 0 comments Download
M sync/engine/traffic_recorder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +52 lines, -0 lines 0 comments Download
M sync/engine/traffic_recorder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M sync/sessions/sync_session_context.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -4 lines 0 comments Download
M sync/sessions/sync_session_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -3 lines 0 comments Download
M sync/sessions/sync_session_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M sync/test/engine/syncer_command_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -1 line 0 comments Download
M sync/test/engine/syncer_command_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
lipalani1
Fred - Feel free to review as you find time. Feedback is very much appreciated. ...
8 years, 8 months ago (2012-03-29 21:07:05 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/9826035/diff/13020/chrome/browser/sync/internal_api/sync_manager.cc File chrome/browser/sync/internal_api/sync_manager.cc (right): http://codereview.chromium.org/9826035/diff/13020/chrome/browser/sync/internal_api/sync_manager.cc#newcode2193 chrome/browser/sync/internal_api/sync_manager.cc:2193: SyncSessionContext* context = scheduler()->session_context(); It's circuitous and somewhat of ...
8 years, 8 months ago (2012-03-29 22:00:10 UTC) #2
lipalani1
You are right WRT convention and I can follow it here too assuming there is ...
8 years, 8 months ago (2012-03-29 22:15:33 UTC) #3
lipalani1
Also Richard and Fred you can continue reviewing. Even if I take Tim's suggestion I ...
8 years, 8 months ago (2012-03-29 22:16:56 UTC) #4
tim (not reviewing)
On 2012/03/29 22:15:33, lipalani1 wrote: > You are right WRT convention and I can follow ...
8 years, 8 months ago (2012-03-29 22:36:09 UTC) #5
lipalani1
I hear your concern and fair enough. I will follow the convention for now. What ...
8 years, 8 months ago (2012-03-29 22:47:11 UTC) #6
rlarocque
Initial comments. http://codereview.chromium.org/9826035/diff/13020/chrome/browser/resources/sync_internals/traffic.js File chrome/browser/resources/sync_internals/traffic.js (right): http://codereview.chromium.org/9826035/diff/13020/chrome/browser/resources/sync_internals/traffic.js#newcode5 chrome/browser/resources/sync_internals/traffic.js:5: (function() { I don't think this is ...
8 years, 8 months ago (2012-03-29 22:54:26 UTC) #7
rlarocque
http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc File sync/engine/traffic_recorder.cc (right): http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc#newcode69 sync/engine/traffic_recorder.cc:69: ClientToServerMessageToValue(message_proto, Because the JavaScript isn't processing this in any ...
8 years, 8 months ago (2012-03-29 22:58:49 UTC) #8
lipalani1
Drew - would you mind reviewing the JS file? Thanks! Tim - the dependancy is ...
8 years, 8 months ago (2012-03-29 23:58:37 UTC) #9
rlarocque
http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc File sync/engine/traffic_recorder.cc (right): http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc#newcode67 sync/engine/traffic_recorder.cc:67: if (message_proto.ParseFromString(message)) By the way, do we really need ...
8 years, 8 months ago (2012-03-30 00:20:51 UTC) #10
akalin
Looks pretty good, some comments http://codereview.chromium.org/9826035/diff/21002/chrome/browser/resources/sync_internals/traffic.html File chrome/browser/resources/sync_internals/traffic.html (right): http://codereview.chromium.org/9826035/diff/21002/chrome/browser/resources/sync_internals/traffic.html#newcode1 chrome/browser/resources/sync_internals/traffic.html:1: <p><strong>Some personal info may ...
8 years, 8 months ago (2012-03-30 01:45:35 UTC) #11
akalin
http://codereview.chromium.org/9826035/diff/13020/chrome/browser/resources/sync_internals/traffic.js File chrome/browser/resources/sync_internals/traffic.js (right): http://codereview.chromium.org/9826035/diff/13020/chrome/browser/resources/sync_internals/traffic.js#newcode5 chrome/browser/resources/sync_internals/traffic.js:5: (function() { On 2012/03/29 22:54:27, rlarocque wrote: > I ...
8 years, 8 months ago (2012-03-30 01:55:04 UTC) #12
rlarocque
http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc File sync/engine/traffic_recorder.cc (right): http://codereview.chromium.org/9826035/diff/13020/sync/engine/traffic_recorder.cc#newcode69 sync/engine/traffic_recorder.cc:69: ClientToServerMessageToValue(message_proto, On 2012/03/30 01:55:04, akalin wrote: > On 2012/03/30 ...
8 years, 8 months ago (2012-03-30 17:49:01 UTC) #13
lipalani1
fixed feedback. Also spoke with Richard offline to make sure I understand the concerns and ...
8 years, 8 months ago (2012-03-30 20:35:16 UTC) #14
rlarocque
One small comment, but otherwise LGTM from me. I think you should wait to hear ...
8 years, 8 months ago (2012-03-30 21:01:11 UTC) #15
Andrew T Wilson (Slow)
CSS/JS LGTM with a couple of nits. http://codereview.chromium.org/9826035/diff/28003/chrome/browser/resources/sync_internals/sync_index.html File chrome/browser/resources/sync_internals/sync_index.html (right): http://codereview.chromium.org/9826035/diff/28003/chrome/browser/resources/sync_internals/sync_index.html#newcode47 chrome/browser/resources/sync_internals/sync_index.html:47: pre { ...
8 years, 8 months ago (2012-03-30 21:18:56 UTC) #16
lipalani1
Including jhawkins for owners approval of the changes under webui.
8 years, 8 months ago (2012-03-30 22:04:57 UTC) #17
James Hawkins
sync_internals_ui.cc LGTM
8 years, 8 months ago (2012-03-30 22:19:17 UTC) #18
lipalani1
Fixed the nits pointed out by Drew and Richard. I will wait and see if ...
8 years, 8 months ago (2012-03-30 23:34:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/9826035/30015
8 years, 8 months ago (2012-03-31 17:31:28 UTC) #20
commit-bot: I haz the power
Try job failure for 9826035-30015 (retry) on android for steps "Compile, build". It's a second ...
8 years, 8 months ago (2012-03-31 17:40:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/9826035/32012
8 years, 8 months ago (2012-03-31 17:55:20 UTC) #22
commit-bot: I haz the power
Try job failure for 9826035-32012 (retry) on android for steps "Compile, build". It's a second ...
8 years, 8 months ago (2012-03-31 18:03:40 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/9826035/30032
8 years, 8 months ago (2012-03-31 22:18:30 UTC) #24
commit-bot: I haz the power
8 years, 8 months ago (2012-04-01 20:22:47 UTC) #25
Change committed as 130081

Powered by Google App Engine
This is Rietveld 408576698