|
[Sync] Move DataTypeStatusTable ownership into DataTypeManager.
The DataTypeManager now maintains its own status table, which it posts a copy
of on each configuration completion. This makes testing configuration results
easier as we can now just check the type status table, and makes the DTM
more self contained.
To make this work a HistoryDeleteDirectives datatype controller was added to
encapsulate the encryption dependency the type has. Additionally, the PSS
is now able to tell the DTM to reset type errors (e.g. when the user is attempting
to re-configure with or without certain types).
BUG= 368834
Committed: https://crrev.com/fe2ae5fbf23243039bdc94f8f8672bc371f5339f
Cr-Commit-Position: refs/heads/master@{#292962}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+408 lines, -209 lines) |
Patch |
 |
A |
chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
|
View
|
1
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/glue/history_delete_directives_data_type_controller.cc
|
View
|
1
2
3
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
1
|
5 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_mock.h
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_startup_unittest.cc
|
View
|
1
|
9 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/sync_errors_test.cc
|
View
|
1
2
|
2 chunks |
+27 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test_profile_sync_service.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_manager.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_manager_impl.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_manager_impl.cc
|
View
|
|
12 chunks |
+27 lines, -22 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_manager_impl_unittest.cc
|
View
|
|
44 chunks |
+206 lines, -105 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_manager_mock.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/data_type_status_table.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/sync_driver/fake_data_type_controller.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|