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

Issue 271613006: sync: Populate debug counters for directory types (Closed)

Created:
6 years, 7 months ago by rlarocque
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

sync: Populate debug counters for directory types Modifies the directory update handlers and commit contributors to make use of the debug info emitters. Previously, the debug info emitters were available but unused. This change makes it so the counters are updated and their observers notified at appropriate times. Updates some tests to rely on these counters rather than the StatusController. Eventually, these counters will replace most existing uses of StatusController. The code does not currently contain any non-test observers, so these newly updated values are currently not reported anywhere. BUG=349301 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270590

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -80 lines) Patch
M sync/engine/conflict_resolver.h View 2 chunks +5 lines, -2 lines 2 comments Download
M sync/engine/conflict_resolver.cc View 8 chunks +10 lines, -3 lines 0 comments Download
M sync/engine/directory_commit_contribution.cc View 4 chunks +10 lines, -0 lines 0 comments Download
M sync/engine/directory_commit_contribution_unittest.cc View 5 chunks +9 lines, -6 lines 0 comments Download
M sync/engine/directory_update_handler.cc View 7 chunks +23 lines, -2 lines 0 comments Download
M sync/engine/directory_update_handler_unittest.cc View 21 chunks +60 lines, -26 lines 0 comments Download
M sync/engine/process_updates_util.h View 2 chunks +4 lines, -1 line 0 comments Download
M sync/engine/process_updates_util.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 12 chunks +132 lines, -34 lines 0 comments Download
M sync/sessions/directory_type_debug_info_emitter.h View 1 chunk +3 lines, -1 line 0 comments Download
M sync/sessions/directory_type_debug_info_emitter.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rlarocque
Please review.
6 years, 7 months ago (2014-05-07 23:43:59 UTC) #1
tim (not reviewing)
https://codereview.chromium.org/271613006/diff/1/sync/engine/conflict_resolver.h File sync/engine/conflict_resolver.h (right): https://codereview.chromium.org/271613006/diff/1/sync/engine/conflict_resolver.h#newcode57 sync/engine/conflict_resolver.h:57: UpdateCounters* counters); It's unfortunate to have two status-tracking parameters ...
6 years, 7 months ago (2014-05-12 17:33:53 UTC) #2
rlarocque
https://codereview.chromium.org/271613006/diff/1/sync/engine/conflict_resolver.h File sync/engine/conflict_resolver.h (right): https://codereview.chromium.org/271613006/diff/1/sync/engine/conflict_resolver.h#newcode57 sync/engine/conflict_resolver.h:57: UpdateCounters* counters); On 2014/05/12 17:33:53, timsteele wrote: > It's ...
6 years, 7 months ago (2014-05-12 18:13:18 UTC) #3
tim (not reviewing)
lgtm
6 years, 7 months ago (2014-05-14 20:50:29 UTC) #4
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-14 20:54:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/271613006/1
6 years, 7 months ago (2014-05-14 20:55:34 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 00:38:40 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 06:01:15 UTC) #8
Message was sent while issue was closed.
Change committed as 270590

Powered by Google App Engine
This is Rietveld 408576698