|
[Invalidations] Add GetInvalidatorState() to Invalidator{,Frontend}
Combine OnNotifications{Enabled,Disabled}() into OnInvalidatorStateChange(). Replace NotificationsDisabledReason with InvalidatorState.
Rename OnIncomingNotification to OnIncomingInvalidation. Also change
some references of "notification" to "invalidation".
Set the initial invalidator state in ChromeToMobileService. Also remove OnNotificationsEnabled() call from OnIncomingInvalidation().
Instantiate InvalidatorTest template for ProfileSyncService.
Move comments for invalidation-related functions from ProfileSyncService to InvalidatorFrontend.
Put DISALLOW_COPY_AND_ASSIGN on some classes.
Fix comment in invalidator.h.
BUG= 142475
TBR=brettw@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=155448
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1031 lines, -983 lines) |
Patch |
 |
M |
chrome/browser/chrome_to_mobile_service.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_to_mobile_service.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc
|
View
|
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/bridged_invalidator.h
|
View
|
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/bridged_invalidator.cc
|
View
|
|
3 chunks |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/bridged_invalidator_unittest.cc
|
View
|
|
5 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/chrome_sync_notification_bridge.cc
|
View
|
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc
|
View
|
|
7 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
|
6 chunks |
+29 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host_unittest.cc
|
View
|
|
4 chunks |
+18 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/invalidation_frontend.h
|
View
|
|
2 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
|
2 chunks |
+6 lines, -50 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_unittest.cc
|
View
|
1
2
3
|
12 chunks |
+243 lines, -144 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/integration/sync_test.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test_profile_sync_service.h
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test_profile_sync_service.cc
|
View
|
|
1 chunk |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/test/fake_sync_manager.h
|
View
|
|
2 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
|
4 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
|
7 chunks |
+29 lines, -39 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl_unittest.cc
|
View
|
|
5 chunks |
+14 lines, -20 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/test/fake_sync_manager.cc
|
View
|
|
4 chunks |
+9 lines, -24 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/fake_invalidation_handler.h
|
View
|
|
2 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/fake_invalidation_handler.cc
|
View
|
|
1 chunk |
+15 lines, -21 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/fake_invalidator.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/fake_invalidator.cc
|
View
|
|
3 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/fake_invalidator_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_handler.h
|
View
|
|
1 chunk |
+13 lines, -17 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier.h
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidation_notifier_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator.h
|
View
|
|
4 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator_factory_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator_registrar.h
|
View
|
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator_registrar.cc
|
View
|
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator_registrar_unittest.cc
|
View
|
1
|
5 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
A |
sync/notifier/invalidator_state.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/notifier/invalidator_state.cc
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/invalidator_test_template.h
|
View
|
|
9 chunks |
+102 lines, -78 lines |
0 comments
|
Download
|
 |
A |
sync/notifier/invalidator_test_template.cc
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/non_blocking_invalidator.h
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/non_blocking_invalidator.cc
|
View
|
|
4 chunks |
+20 lines, -29 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/non_blocking_invalidator_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
D |
sync/notifier/notifications_disabled_reason.h
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
D |
sync/notifier/notifications_disabled_reason.cc
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/p2p_invalidator.h
|
View
|
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/p2p_invalidator.cc
|
View
|
|
9 chunks |
+20 lines, -15 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/p2p_invalidator_unittest.cc
|
View
|
|
8 chunks |
+45 lines, -47 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/sync_invalidation_listener.h
|
View
|
1
2
|
4 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/sync_invalidation_listener.cc
|
View
|
1
2
|
5 chunks |
+21 lines, -25 lines |
0 comments
|
Download
|
 |
M |
sync/notifier/sync_invalidation_listener_unittest.cc
|
View
|
1
2
|
8 chunks |
+32 lines, -48 lines |
0 comments
|
Download
|
 |
M |
sync/sync.gyp
|
View
|
1
2
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/tools/sync_listen_notifications.cc
|
View
|
1
|
1 chunk |
+7 lines, -12 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|