|
[Sync] Refactor sync manager into interface.
sync_manager.h now defines a pure interface. The actual implementation is
in sync_manager_impl.h/cc. In order to support this, we also create a
SyncManagerFactory, which allows us to dependency inject a SyncManager
implementation into the SyncBackendHost. Follow up patches will
make use of this injection, as well as split the SyncManager tests
out of syncapi_unittest.
R=akalin@chromium.org
BUG= 133061
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147076
Total comments: 10
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+522 lines, -2836 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/data_type_manager_impl.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
|
5 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
|
9 chunks |
+13 lines, -7 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_harness.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test_profile_sync_service.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/js_sync_manager_observer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/js_sync_manager_observer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sync_manager.h
|
View
|
|
8 chunks |
+49 lines, -104 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/public/sync_manager.cc
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/public/sync_manager_factory.h
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/public/util/sync_string_conversions.h
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/public/util/sync_string_conversions.cc
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
D |
sync/internal_api/sync_manager.cc
|
View
|
|
1 chunk |
+0 lines, -2532 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/sync_manager_factory.cc
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/internal_api/sync_manager_impl.h
|
View
|
1
2
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
|
61 chunks |
+141 lines, -171 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/syncapi_unittest.cc
|
View
|
|
5 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/sync.gyp
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/tools/sync_client.cc
|
View
|
1
2
3
|
4 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|