|
Don't clear debug info until after it has been sent to the server.
Replaced DebugInfoGetter::GetAndClearDebugInfo with GetDebugInfo and ClearDebugInfo so we can clear the debug info only after we have successfully sent it to the server.
Moved MockDebugInfoGetter into its own file so it can be used by other tests.
BUG= 319937
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236591
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+219 lines, -103 lines) |
Patch |
 |
M |
sync/engine/download.h
|
View
|
1
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/engine/download.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+14 lines, -17 lines |
0 comments
|
Download
|
 |
M |
sync/engine/download_unittest.cc
|
View
|
1
|
3 chunks |
+12 lines, -40 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
1
2
|
6 chunks |
+57 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.h
|
View
|
1
2
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener_unittest.cc
|
View
|
1
2
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sessions/model_neutral_state.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sessions/model_neutral_state.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/debug_info_getter.h
|
View
|
1
2
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/status_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/status_controller.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/sync_tests.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.h
|
View
|
1
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
A |
sync/test/sessions/mock_debug_info_getter.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/test/sessions/mock_debug_info_getter.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|