Descriptionsync: Add helper class for P2P invalidations
Introduces the P2PInvalidationForwarder. This class listens to
ProfileSyncService events and generates P2P invalidations when it sees
that the ProfileSyncServce has committed something. This is useful only
in tests, where we do not have a real (non-P2P) invalidations.
The P2PInvalidationForwarder's functionality is not new. It used to
reside in the ProfileSyncServiceHarness. Moving it into this new class
is a step towards making the ProfileSyncServiceHarness not listen to
ProfileSyncService events.
BUG=323380
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252224
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase #Patch Set 3 : Review fixes #
Messages
Total messages: 12 (0 generated)
|