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

Issue 1418513005: [sync] Set up notification-free infra for triggering local sync refresh (Closed)

Created:
5 years, 2 months ago by blundell
Modified:
5 years, 1 month ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] Set up notification-free infra for triggering local sync refresh Sync code that is due to be componentized and shared with iOS both sends and listens for the SYNC_REFRESH_LOCAL notification. This is problematic, as iOS cannot use the //content-based notification system. This CL puts the pieces in place for getting rid of this notification: It adds an interface to SyncService that a client can call to trigger refresh. Future work can change all senders of the notification to instead call into the SyncService and then eliminate the notification altogether. BUG=512779, 512059 Committed: https://crrev.com/ce26a15f734e6be603bf8c62e07c884a7c344419 Cr-Commit-Position: refs/heads/master@{#356021}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -4 lines) Patch
M chrome/browser/sync/glue/sync_backend_host.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 1 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_mock.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/sync_driver/fake_sync_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/fake_sync_service.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync_driver/sync_service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
blundell
5 years, 2 months ago (2015-10-23 14:35:15 UTC) #3
Nicolas Zea
lgtm https://codereview.chromium.org/1418513005/diff/1/components/sync_driver/sync_service.h File components/sync_driver/sync_service.h (right): https://codereview.chromium.org/1418513005/diff/1/components/sync_driver/sync_service.h#newcode106 components/sync_driver/sync_service.h:106: // Triggers refresh of sync state. nit: prefer ...
5 years, 2 months ago (2015-10-23 20:20:10 UTC) #4
blundell
https://codereview.chromium.org/1418513005/diff/1/components/sync_driver/sync_service.h File components/sync_driver/sync_service.h (right): https://codereview.chromium.org/1418513005/diff/1/components/sync_driver/sync_service.h#newcode106 components/sync_driver/sync_service.h:106: // Triggers refresh of sync state. On 2015/10/23 20:20:10, ...
5 years, 1 month ago (2015-10-26 07:59:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418513005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418513005/20001
5 years, 1 month ago (2015-10-26 07:59:48 UTC) #8
blundell
5 years, 1 month ago (2015-10-26 08:02:16 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-10-26 08:39:20 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-10-26 08:40:06 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ce26a15f734e6be603bf8c62e07c884a7c344419
Cr-Commit-Position: refs/heads/master@{#356021}

Powered by Google App Engine
This is Rietveld 408576698