DescriptionStart moving ownership of SyncNotificationController to SyncController, take 2.
Original: http://crrev.com/889723002
Reverted: http://crrev.com/895373002
This version restores a missing @VisibleForTests annotation
to GoogleServicesNotificationController.getInstance(). Its
removal caused the method to be pruned on build, breaking
downstream tests that depended on it.
GoogleServicesNotificationController is modified to work
the way most other singleton classes work, so that it is
not necessary to pass into the SyncNotificationController
constructor (and thus, into SyncController in the future).
SyncController gets a temporary setter method so that SNC
can be constructed downstream and passed in until all its
dependencies are upstream.
BUG=428882
Committed: https://crrev.com/d6674cc202f506329d414a3aeb17dccb26f30bdb
Cr-Commit-Position: refs/heads/master@{#315367}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|