|
sync: remove CreateSharedChangeProcessor from ProfileSyncComponentsFactory
This is a step towards changing SCP's dependency on ProfileSyncComponentsFactory to SyncApiComponentsFactory. This method was used exclusively for testing unlike other S.A.C.F methods which serve a production code purpose. Moreover, I found that most tests didn't actually need a SharedChangeProcessorMock yet its presence (especially when considered with CreateGenericChangeProcessor) made things more complicated, so I removed it from everywhere except NonUIDataTypeControllerTest.
BUG= 339726
R=haitaol@chromium.org, maniscalco@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266597
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+65 lines, -147 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
|
View
|
1
|
7 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/autofill_profile_data_type_controller.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/non_ui_data_type_controller.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/non_ui_data_type_controller.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/non_ui_data_type_controller_unittest.cc
|
View
|
1
2
|
8 chunks |
+51 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/search_engine_data_type_controller_unittest.cc
|
View
|
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/shared_change_processor_mock.h
|
View
|
|
1 chunk |
+0 lines, -52 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/shared_change_processor_mock.cc
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/ui_data_type_controller.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/ui_data_type_controller_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_mock.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
|
5 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_preference_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|