Chromium Code Reviews
Descriptionarc: Fix Android App resurrected by sync.
This patch makes ReadyForStart + ReenableDatatype to be called only when the
type is being disabled/re-enabled for some external to sync condition.
StartModels/OnModelLoaded is now used to track ARC AppInstanceReady signal.
Also moves re-enable sync data type related code from sync service to sync data
type controller.
BUG=650483
TBR=xiyuan@chromium.org, pavely@chromium.org
Test=Pass exsiting Test.
Test1=Manually remove app on Chromebook1 while Chromebook2 is off. When
Chromebook2 is on, the app is removed by sync.
Test2=Manually remove app on Chromebook1 while Chromebook2 is on but offline.
When Chromebook2 is back online, app is removed by sync.
Test3=Manually remove app on Chromebook1 while Chromebook1 is offline. When
Chromebook1 is back online, app is removed by sync on Chromebook2.
Review-Url: https://codereview.chromium.org/2353213002
Cr-Commit-Position: refs/heads/master@{#421876}
(cherry picked from commit 077a23cfcc11a665a41e878be2270218a0a0f429)
Committed: https://chromium.googlesource.com/chromium/src/+/276127c923c28cafe3e4fddd1ab8d83e5a4a6f9c
Patch Set 1 #
Messages
Total messages: 4 (3 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||