|
|
sync: Make ProfileSyncService a ProfileKeyedService.
Create ProfileSyncService using a factory, and transfer ownership of the components factory
to ProfileSyncService. I deliberately left GetProfileSyncService to
keep this patch focused on the actual change and more manageable in size. It now just wraps
calls to the factory, and I'll change the rest of the callers in a follow up (there are a lot).
BUG= 93922
TEST=Sync still works / can be set up / starts properly after browser restart / shuts down.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=118474
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+308 lines, -191 lines) |
Patch |
 |
M |
chrome/browser/profiles/off_the_record_profile_impl.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/off_the_record_profile_impl.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_dependency_manager.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.h
|
View
|
1
2
|
5 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
|
5 chunks |
+4 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/abstract_profile_sync_service_test.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory.h
|
View
|
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
1
2
3
|
3 chunks |
+1 line, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
|
View
|
|
4 chunks |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_mock.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
1
2
|
7 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
3
|
8 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/profile_sync_service_factory.h
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/profile_sync_service_factory.cc
|
View
|
1
2
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_password_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_preference_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_session_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_startup_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+22 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+50 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_setup_wizard_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/testing_profile.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|