Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Issue 889723002: Start moving ownership of SyncNotificationController to SyncController. (Closed)

Created:
5 years, 10 months ago by maxbogue
Modified:
5 years, 10 months ago
Reviewers:
nyquist
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, mlamouri+watch-notifications_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, peter+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start moving ownership of SyncNotificationController to SyncController. 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/deaa0fe6ca3e0428a85fc22b019819437d84120b Cr-Commit-Position: refs/heads/master@{#314515}

Patch Set 1 #

Patch Set 2 : Self-review; better comments. #

Total comments: 2

Patch Set 3 : Rebase on master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -20 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java View 4 chunks +22 lines, -20 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/SyncController.java View 1 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
maxbogue
PTAL! See the upstreaming doc for an overview of the whole plan for this.
5 years, 10 months ago (2015-01-30 01:45:48 UTC) #2
nyquist
https://codereview.chromium.org/889723002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java (right): https://codereview.chromium.org/889723002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java#newcode109 chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java:109: public void overrideNotificationManagerForTests(NotificationManagerProxy managerProxy) { Oh my... Someone was ...
5 years, 10 months ago (2015-02-03 18:32:34 UTC) #3
nyquist
lgtm
5 years, 10 months ago (2015-02-03 18:32:40 UTC) #4
maxbogue
I'm gonna need to rebase this after http://crrev.com/887143002 lands. https://codereview.chromium.org/889723002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java (right): https://codereview.chromium.org/889723002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java#newcode109 chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java:109: ...
5 years, 10 months ago (2015-02-03 22:37:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889723002/40001
5 years, 10 months ago (2015-02-04 06:38:38 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-04 07:14:56 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/deaa0fe6ca3e0428a85fc22b019819437d84120b Cr-Commit-Position: refs/heads/master@{#314515}
5 years, 10 months ago (2015-02-04 07:16:08 UTC) #9
perezju
5 years, 10 months ago (2015-02-04 10:55:35 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/895373002/ by perezju@chromium.org.

The reason for reverting is: Broke downstream builds.

Powered by Google App Engine
This is Rietveld 408576698