Start 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 Review URL: https://codereview.chromium.org/895283003 Cr-Commit-Position: refs/heads/master@{#315367}
Showing
Please register or sign in to comment