|
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
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
|
Total messages: 8 (0 generated)
|