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

Issue 9149017: Remove broken variables from sync's AllStatus (Closed)

Created:
8 years, 11 months ago by rlarocque
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing), Nicolas Zea
Visibility:
Public.

Description

Remove broken variables from sync's AllStatus * syncer_stuck: This value would get set if we failed to make progress in resolving conflict sets. The conflict set processing code is never executed (crbug.com/107816). I suspect there were other problems with this status indicator, but this alone is enough to justify its removal. * server_broken: Because the number of commits was never greater than 25, there's no way we could see >100 commits bounce because of a transient error in a single sync cycle. This value is always false. * disk_full: Never set. Always false. * CONFLICT status summary value: It depends on syncer_stuck. * HandleAuthWatcherEvent(): This method was undefined. This is not the full set of AllStatus fixes. There are some other status indicators that should be removed, but I wanted to limit the scope of this commit to removing broken indicators. Mostly useless but still functional indicators will be removed in future commits. BUG=98346, 105739 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=118499

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fix sync_unit_test failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -106 lines) Patch
M chrome/browser/sync/engine/all_status.h View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/all_status.cc View 3 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 3 chunks +0 lines, -31 lines 0 comments Download
M chrome/browser/sync/internal_api/debug_info_event_listener.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.h View 1 4 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/protocol/client_debug_info.proto View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 1 2 chunks +2 lines, -13 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/session_state_unittest.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/status_controller.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller_unittest.cc View 1 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 3 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
rlarocque
Please review. http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto File chrome/browser/sync/protocol/client_debug_info.proto (right): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto#newcode17 chrome/browser/sync/protocol/client_debug_info.proto:17: // optional bool syncer_stuck = 1; // ...
8 years, 11 months ago (2012-01-10 00:07:42 UTC) #1
tim (not reviewing)
+Albert / Raz, question of curiosity about protobuf options in client_debug_info.proto http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc File chrome/browser/sync/engine/syncer_unittest.cc (left): ...
8 years, 11 months ago (2012-01-10 17:01:47 UTC) #2
rlarocque
http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc#oldcode1702 chrome/browser/sync/engine/syncer_unittest.cc:1702: TEST_F(SyncerTest, DontGetStuckWithTwoSameNames) { On 2012/01/10 17:01:47, timsteele wrote: > ...
8 years, 11 months ago (2012-01-10 21:39:32 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc#oldcode1702 chrome/browser/sync/engine/syncer_unittest.cc:1702: TEST_F(SyncerTest, DontGetStuckWithTwoSameNames) { On 2012/01/10 21:39:32, rlarocque wrote: > ...
8 years, 11 months ago (2012-01-11 02:15:35 UTC) #4
rlarocque
Comments updated. We should continue the discussion of testing offline. http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc File chrome/browser/sync/engine/syncer_unittest.cc (left): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/engine/syncer_unittest.cc#oldcode1702 ...
8 years, 11 months ago (2012-01-11 19:58:36 UTC) #5
tim (not reviewing)
We chatted offline, LGTM
8 years, 11 months ago (2012-01-11 22:27:04 UTC) #6
tim (not reviewing)
(Would still be good for Lingesh to take a look, however) On Wed, Jan 11, ...
8 years, 11 months ago (2012-01-11 22:28:15 UTC) #7
lipalani1
Sorry for the delay. Just getting back on track. You can expect feedback on both ...
8 years, 11 months ago (2012-01-12 23:44:26 UTC) #8
lipalani1
http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto File chrome/browser/sync/protocol/client_debug_info.proto (right): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto#newcode17 chrome/browser/sync/protocol/client_debug_info.proto:17: // optional bool syncer_stuck = 1; // Was always ...
8 years, 11 months ago (2012-01-12 23:55:48 UTC) #9
albertb
http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto File chrome/browser/sync/protocol/client_debug_info.proto (right): http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto#newcode17 chrome/browser/sync/protocol/client_debug_info.proto:17: // optional bool syncer_stuck = 1; // Was always ...
8 years, 11 months ago (2012-01-13 15:47:02 UTC) #10
rlarocque
On 2012/01/12 23:55:48, lipalani1 wrote: > http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto > File chrome/browser/sync/protocol/client_debug_info.proto (right): > > http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto#newcode17 > ...
8 years, 11 months ago (2012-01-13 22:36:11 UTC) #11
rlarocque
On 2012/01/13 22:36:11, rlarocque wrote: > On 2012/01/12 23:55:48, lipalani1 wrote: > > > http://codereview.chromium.org/9149017/diff/1/chrome/browser/sync/protocol/client_debug_info.proto ...
8 years, 11 months ago (2012-01-18 21:30:28 UTC) #12
albertb
On 2012/01/18 21:30:28, rlarocque wrote: > Albert: Are you saying you would *prefer* to use ...
8 years, 11 months ago (2012-01-18 21:36:19 UTC) #13
lipalani1
Absolutely :) LGTM from my side. On 2012/01/18 21:36:19, albertb wrote: > On 2012/01/18 21:30:28, ...
8 years, 11 months ago (2012-01-18 21:53:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/9149017/14003
8 years, 11 months ago (2012-01-20 19:31:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/9149017/14003
8 years, 11 months ago (2012-01-20 19:33:53 UTC) #16
commit-bot: I haz the power
8 years, 11 months ago (2012-01-20 21:17:49 UTC) #17
Change committed as 118499

Powered by Google App Engine
This is Rietveld 408576698