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

Issue 7013040: Add information about sync session and other useful data to about:sync. (Closed)

Created:
9 years, 7 months ago by lipalani1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), idana
Visibility:
Public.

Description

Adds the following information to about sync page: Count of empty and non empty getupdates. Download count and commit count. Last sync source and if sync was throttled. Number of entries in sync db. BUG=55806 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86032 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86045

Patch Set 1 : For review. #

Total comments: 2

Patch Set 2 : Fixing a bug. #

Total comments: 17

Patch Set 3 : Fix cr feedback. #

Total comments: 4

Patch Set 4 : Fixing CR feedback. #

Patch Set 5 : Fixing CR feedback. #

Total comments: 8

Patch Set 6 : Fixing CR feedback. #

Total comments: 5

Patch Set 7 : Upload before commit. #

Patch Set 8 : Upload before commit #

Patch Set 9 : Upload before commit. #

Patch Set 10 : Upload before commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -9 lines) Patch
M chrome/browser/sync/backend_migrator_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/engine/all_status.cc View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/js_sync_manager_observer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/session_state.cc View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/session_state_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 1 2 3 4 5 6 7 8 3 chunks +46 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
lipalani1
Please review. Couple of things: 1. I am not sure what is meant by the ...
9 years, 7 months ago (2011-05-13 00:19:33 UTC) #1
lipalani1
I have corrected a mistake and left a comment there. The rest of the CR ...
9 years, 7 months ago (2011-05-13 00:43:54 UTC) #2
lipalani1
Fixing the bug I mentioned earlier by adding a lock. http://codereview.chromium.org/7013040/diff/3003/chrome/browser/sync/sync_ui_util.cc File chrome/browser/sync/sync_ui_util.cc (right): http://codereview.chromium.org/7013040/diff/3003/chrome/browser/sync/sync_ui_util.cc#newcode435 ...
9 years, 7 months ago (2011-05-13 01:06:43 UTC) #3
akalin
Some comments http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc#newcode84 chrome/browser/sync/engine/all_status.cc:84: ++status.empty_getupdates; getupdates -> get_updates http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc#newcode86 chrome/browser/sync/engine/all_status.cc:86: ++status.nonempty_getupdates; ...
9 years, 7 months ago (2011-05-13 22:01:42 UTC) #4
lipalani1
Please review. http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc#newcode84 chrome/browser/sync/engine/all_status.cc:84: ++status.empty_getupdates; On 2011/05/13 22:01:42, akalin wrote: > ...
9 years, 7 months ago (2011-05-13 22:35:39 UTC) #5
akalin
http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc#newcode86 chrome/browser/sync/engine/all_status.cc:86: ++status.nonempty_getupdates; I mean if the download count is 0 ...
9 years, 7 months ago (2011-05-16 22:11:23 UTC) #6
akalin
http://codereview.chromium.org/7013040/diff/3004/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/7013040/diff/3004/chrome/browser/sync/engine/all_status.cc#newcode84 chrome/browser/sync/engine/all_status.cc:84: ++status.empty_get_updates; rename to "useless_sync_cycles" http://codereview.chromium.org/7013040/diff/3004/chrome/browser/sync/engine/all_status.cc#newcode86 chrome/browser/sync/engine/all_status.cc:86: ++status.nonempty_get_updates; rename to ...
9 years, 7 months ago (2011-05-16 22:34:58 UTC) #7
lipalani1
Fixed all the feedback.
9 years, 7 months ago (2011-05-16 22:51:34 UTC) #8
lipalani1
hang on there is a spelling mistake that I missed the in my CR pass. ...
9 years, 7 months ago (2011-05-16 22:52:16 UTC) #9
ncarter (slow)
http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/7013040/diff/27/chrome/browser/sync/engine/all_status.cc#newcode86 chrome/browser/sync/engine/all_status.cc:86: ++status.nonempty_getupdates; On 2011/05/16 22:11:23, akalin wrote: > I mean ...
9 years, 7 months ago (2011-05-16 22:57:50 UTC) #10
lipalani
we just renamed it to useless_sync_cycles and useful_sync_cycles. I am assuming thats what we wanted ...
9 years, 7 months ago (2011-05-16 22:59:31 UTC) #11
lipalani1
Fixing cr feedback.
9 years, 7 months ago (2011-05-16 23:17:37 UTC) #12
akalin
I think Nick is also confused for the same reason as I was. He knows ...
9 years, 7 months ago (2011-05-17 02:03:00 UTC) #13
lipalani1
Fixed CR feedback. After talking to Nick added a nonempty_getupdates and empty_getupdates member. It looks ...
9 years, 7 months ago (2011-05-18 00:28:07 UTC) #14
akalin
LGTM http://codereview.chromium.org/7013040/diff/16002/chrome/browser/sync/sync_ui_util.cc File chrome/browser/sync/sync_ui_util.cc (right): http://codereview.chromium.org/7013040/diff/16002/chrome/browser/sync/sync_ui_util.cc#newcode412 chrome/browser/sync/sync_ui_util.cc:412: "Empty Get Updates", Get Updates -> GetUpdates http://codereview.chromium.org/7013040/diff/16002/chrome/browser/sync/sync_ui_util.cc#newcode415 ...
9 years, 7 months ago (2011-05-18 01:06:34 UTC) #15
commit-bot: I haz the power
Try job failure for 7013040-20010 on linux: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux&number=27136
9 years, 7 months ago (2011-05-18 05:10:21 UTC) #16
commit-bot: I haz the power
Try job failure for 7013040-22001 on linux: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux&number=27251
9 years, 7 months ago (2011-05-18 19:47:37 UTC) #17
commit-bot: I haz the power
Try job failure for 7013040-26001 on mac: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=27966
9 years, 7 months ago (2011-05-19 23:34:34 UTC) #18
commit-bot: I haz the power
9 years, 7 months ago (2011-05-20 01:30:48 UTC) #19
Change committed as 86032

Powered by Google App Engine
This is Rietveld 408576698