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

Issue 2621023002: Merge the GoogleServicesNotificationController to SyncNotificationController (Closed)

Created:
3 years, 11 months ago by Peter Beverloo
Modified:
3 years, 11 months ago
Reviewers:
maxbogue, awdf, nyquist
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, sync-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge the GoogleServicesNotificationController to SyncNotificationController The SyncNotificationController is the only consumer of the GSNC, so we can simplify by merging the two classes together. In addition, remove displayAndroidMasterSyncDisabledNotification() which had no callers. The sync notifications do not appear to be tested. I filed https://crbug.com/679750 to track adding some. BUG= Review-Url: https://codereview.chromium.org/2621023002 Cr-Commit-Position: refs/heads/master@{#442992} Committed: https://chromium.googlesource.com/chromium/src/+/2e36b96ae1199d1027734fb870f6c76c0630f410

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use a notification group for sync-related notifications #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -128 lines) Patch
D chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java View 1 chunk +0 lines, -100 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java View 1 5 chunks +42 lines, -27 lines 0 comments Download
M chrome/android/java_sources.gni View 1 chunk +0 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (17 generated)
awdf
lgtm % splitting into two commits https://codereview.chromium.org/2621023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java File chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java (right): https://codereview.chromium.org/2621023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java#newcode55 chrome/android/java/src/org/chromium/chrome/browser/sync/SyncNotificationController.java:55: public void syncStateChanged() ...
3 years, 11 months ago (2017-01-10 15:53:59 UTC) #5
Peter Beverloo
Thanks Anita! I'll send another CL to add the group. +maxbogue and/or nyquist for review ...
3 years, 11 months ago (2017-01-11 18:50:41 UTC) #11
nyquist
lgtm
3 years, 11 months ago (2017-01-11 18:56:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2621023002/40001
3 years, 11 months ago (2017-01-11 20:16:32 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 20:51:51 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2e36b96ae1199d1027734fb870f6...

Powered by Google App Engine
This is Rietveld 408576698