|
For legacy types(that are not in sync api) we uploaded the call stacks after the error has happened.
To solve this we introduce a new method called CreateAndUploadError and eventually this would be the only method than can create a non default SyncError. (Non legacy types have to be changed before we make this constructor private). When the error is created we upload from there as well.
This gives us the following benefits:
1. We have the line number that caused the error in call stack.
2. Once this is fully implemented we dont have the possibility of double uploading of the same error.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131544
Total comments: 12
Total comments: 21
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+427 lines, -272 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/bookmark_model_associator.h
|
View
|
1
2
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/bookmark_model_associator.cc
|
View
|
1
2
|
8 chunks |
+44 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/change_processor_mock.h
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/data_type_controller.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/data_type_controller.cc
|
View
|
1
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/data_type_error_handler.h
|
View
|
1
2
3
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/data_type_error_handler_mock.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/frontend_data_type_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/model_associator.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/model_associator_mock.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/non_frontend_data_type_controller.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/password_change_processor.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/password_model_associator.h
|
View
|
|
4 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/password_model_associator.cc
|
View
|
1
2
|
11 chunks |
+41 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_change_processor.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.h
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
2
3
4
|
12 chunks |
+52 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/theme_data_type_controller_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/theme_model_associator.h
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/theme_model_associator.cc
|
View
|
1
2
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/typed_url_change_processor.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/typed_url_model_associator.h
|
View
|
|
5 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/typed_url_model_associator.cc
|
View
|
1
2
3
|
16 chunks |
+76 lines, -55 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/typed_url_model_associator_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_password_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|