forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement register_for_sync_manager() for places (mozilla#4617)
- Changed the bookmarks/history sync engines to use an Arc<Mutex<PlacesDb>>, which matches the other engines better - Made these sync engines create their own `SqlInterruptScope`. The interrupt code is still not working, but I think this is the direction we want to go for mozilla#1684. If not, it should be easy to replace. - Removed the old `PlacesApi.open_sync_connection()` method and replaced it with the new `get_sync_connection()` method - Lots of unit test updates. I didn't take the time to understand these fully. I just made changes until it compiled, didn't deadlock, and passed.
- Loading branch information
Showing
11 changed files
with
273 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.