Chromium Code Reviews
Description[Sync] Only get bridge on model thread for ModelTypeController.
AutocompleteSyncBridge cannot be fetched on the UI thread, because of
the way AutofillWebDataService provides it. This can only be done on
the model thread. Previously the ModelTypeController was updated to
mostly respect this in https://codereview.chromium.org/2508263003/ .
However, we seem to have missed the DisableSync() case. This CL copies
the existing pattern for this scenario.
BUG=686172
Review-Url: https://codereview.chromium.org/2668323002
Cr-Commit-Position: refs/heads/master@{#447779}
Committed: https://chromium.googlesource.com/chromium/src/+/c3389b63ea8217144db344e29451b9ee3bbd05e3
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 20 (12 generated)
|
|||||||||||||||||||