Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed)

Created:
7 years, 10 months ago by rlarocque
Modified:
7 years, 10 months ago
CC:
chromium-reviews, akalin, Raghu Simha, Aaron Boodman, chromium-apps-reviews_chromium.org, haitaol1, tim (not reviewing)
Visibility:
Public.

Description

Remove syncer::IncomingInvalidationSource Since we separated local and remote invalidations in r179546, we no longer need to differentiate between the two sources with an enum. The IncomingInvalidationSource is always REMOTE_INVALIDATION. This commit removes the IncomingInvalidationSource enum and the 'source' parameter that was part of the invalidator callback API. The callees can now safely assume that all invalidations have a 'remote' source. BUG=124143 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180213

Patch Set 1 #

Patch Set 2 : Fix unit test #

Patch Set 3 : Fix sync standalone binaries #

Patch Set 4 : Update DriveSystemService #

Total comments: 2

Patch Set 5 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -232 lines) Patch
M chrome/browser/chrome_to_mobile_service.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chrome_to_mobile_service.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_system_service.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_system_service.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/android_invalidator_bridge.cc View 5 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/android_invalidator_bridge_unittest.cc View 5 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 3 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_unittest.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/internal_api/public/test/fake_sync_manager.h View 2 chunks +2 lines, -4 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M sync/internal_api/test/fake_sync_manager.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M sync/notifier/fake_invalidation_handler.h View 1 chunk +1 line, -4 lines 0 comments Download
M sync/notifier/fake_invalidation_handler.cc View 3 chunks +1 line, -9 lines 0 comments Download
M sync/notifier/fake_invalidator.h View 1 chunk +1 line, -2 lines 0 comments Download
M sync/notifier/fake_invalidator.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/notifier/fake_invalidator_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/notifier/invalidation_handler.h View 2 chunks +1 line, -9 lines 0 comments Download
M sync/notifier/invalidation_notifier.cc View 1 chunk +1 line, -2 lines 0 comments Download
M sync/notifier/invalidation_notifier_unittest.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M sync/notifier/invalidator_registrar.h View 1 chunk +1 line, -2 lines 0 comments Download
M sync/notifier/invalidator_registrar.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M sync/notifier/invalidator_registrar_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/notifier/invalidator_test_template.h View 1 2 3 8 chunks +7 lines, -12 lines 0 comments Download
M sync/notifier/non_blocking_invalidator.h View 1 chunk +1 line, -2 lines 0 comments Download
M sync/notifier/non_blocking_invalidator.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M sync/notifier/non_blocking_invalidator_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sync/notifier/p2p_invalidator.h View 3 chunks +1 line, -6 lines 0 comments Download
M sync/notifier/p2p_invalidator.cc View 1 10 chunks +9 lines, -35 lines 0 comments Download
M sync/notifier/p2p_invalidator_unittest.cc View 1 8 chunks +17 lines, -30 lines 0 comments Download
M sync/tools/sync_listen_notifications.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rlarocque
This patch contains a lot of trivial changes in a lot of subsystems. dcheng: Please ...
7 years, 10 months ago (2013-01-30 19:45:53 UTC) #1
msw
chrome/browser/chrome_to_mobile_service.* LGTM
7 years, 10 months ago (2013-01-30 19:49:29 UTC) #2
dcheng
push_messaging lgtm
7 years, 10 months ago (2013-01-30 19:57:45 UTC) #3
kochi
chromeos/drive LGTM
7 years, 10 months ago (2013-01-31 01:56:43 UTC) #4
Ben Goodger (Google)
lgtm
7 years, 10 months ago (2013-01-31 16:58:10 UTC) #5
Nicolas Zea
LGTM https://chromiumcodereview.appspot.com/12114012/diff/9041/sync/notifier/invalidation_notifier_unittest.cc File sync/notifier/invalidation_notifier_unittest.cc (right): https://chromiumcodereview.appspot.com/12114012/diff/9041/sync/notifier/invalidation_notifier_unittest.cc#newcode73 sync/notifier/invalidation_notifier_unittest.cc:73: // None of the tests actually care about ...
7 years, 10 months ago (2013-01-31 20:04:22 UTC) #6
rlarocque
I think that's everyone. Thanks for the reviews. https://chromiumcodereview.appspot.com/12114012/diff/9041/sync/notifier/invalidation_notifier_unittest.cc File sync/notifier/invalidation_notifier_unittest.cc (right): https://chromiumcodereview.appspot.com/12114012/diff/9041/sync/notifier/invalidation_notifier_unittest.cc#newcode73 sync/notifier/invalidation_notifier_unittest.cc:73: // ...
7 years, 10 months ago (2013-01-31 20:32:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12114012/3005
7 years, 10 months ago (2013-01-31 20:33:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12114012/3005
7 years, 10 months ago (2013-02-01 23:30:02 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-02 00:24:50 UTC) #10
Message was sent while issue was closed.
Change committed as 180213

Powered by Google App Engine
This is Rietveld 408576698