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

Issue 2827014: Implemented initial version of server-issued notification client. (Closed)

Created:
10 years, 6 months ago by akalin
Modified:
9 years, 7 months ago
Reviewers:
ncarter (slow), ghc
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, idana, cbentzel+watch_chromium.org, darin-cc_chromium.org, pam+watch_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Implemented initial version of server-issued notification client. Added NOTIFICATION_SERVER notification method (use --sync-notification-method=server to turn on). BUG=34647 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50479 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50550 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50560

Patch Set 1 : Removed unused headers #

Total comments: 20

Patch Set 2 : Addressed ghc's comments #

Total comments: 9

Patch Set 3 : Addressed nick's comments #

Patch Set 4 : Added DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1135 lines, -427 lines) Patch
M chrome/browser/sync/engine/syncapi.cc View 1 5 chunks +29 lines, -13 lines 0 comments Download
M chrome/browser/sync/notification_method.h View 1 2 4 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/sync/notification_method.cc View 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/DEPS View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/cache_invalidation_packet_handler.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/cache_invalidation_packet_handler.cc View 1 2 1 chunk +243 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/chrome_invalidation_client.h View 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/chrome_invalidation_client.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/chrome_system_resources.h View 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/chrome_system_resources.cc View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/invalidation_util.h View 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/invalidation_util.cc View 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/server_notifier_thread.h View 1 chunk +100 lines, -0 lines 0 comments Download
A chrome/browser/sync/notifier/server_notifier_thread.cc View 1 chunk +201 lines, -0 lines 0 comments Download
M chrome/browser/sync/tools/sync_listen_notifications.cc View 10 chunks +26 lines, -386 lines 0 comments Download
M chrome/browser/sync/tools/sync_tools.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 chunks +36 lines, -0 lines 0 comments Download
M chrome/common/net/notifier/listener/mediator_thread_impl.h View 2 chunks +11 lines, -5 lines 0 comments Download
M chrome/common/net/notifier/listener/mediator_thread_impl.cc View 2 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
akalin
+nick for sync stuff +ghc for invalidation stuff I left a lot of TODOs and ...
10 years, 6 months ago (2010-06-17 01:57:36 UTC) #1
ghc
http://codereview.chromium.org/2827014/diff/20002/19002 File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/2827014/diff/20002/19002#newcode1274 chrome/browser/sync/engine/syncapi.cc:1274: notifier::MediatorThread* mediator_thread = comment for this block? http://codereview.chromium.org/2827014/diff/20002/19002#newcode1772 chrome/browser/sync/engine/syncapi.cc:1772: ...
10 years, 6 months ago (2010-06-18 21:30:50 UTC) #2
akalin
Please take another look! http://codereview.chromium.org/2827014/diff/20002/19002 File chrome/browser/sync/engine/syncapi.cc (right): http://codereview.chromium.org/2827014/diff/20002/19002#newcode1274 chrome/browser/sync/engine/syncapi.cc:1274: notifier::MediatorThread* mediator_thread = On 2010/06/18 ...
10 years, 6 months ago (2010-06-21 21:30:34 UTC) #3
ncarter (slow)
http://codereview.chromium.org/2827014/diff/20002/19004 File chrome/browser/sync/notification_method.h (right): http://codereview.chromium.org/2827014/diff/20002/19004#newcode21 chrome/browser/sync/notification_method.h:21: // +-------+ This is a great comment, and I'd ...
10 years, 6 months ago (2010-06-21 22:38:29 UTC) #4
akalin
Addressed all nick's comments. Please take another look! http://codereview.chromium.org/2827014/diff/20002/19004 File chrome/browser/sync/notification_method.h (right): http://codereview.chromium.org/2827014/diff/20002/19004#newcode21 chrome/browser/sync/notification_method.h:21: // ...
10 years, 6 months ago (2010-06-21 23:39:42 UTC) #5
ncarter (slow)
Thanks for the fixes. LGTM
10 years, 6 months ago (2010-06-21 23:43:17 UTC) #6
akalin
10 years, 6 months ago (2010-06-22 17:15:55 UTC) #7
Greg is on vacation until tomorrow, so I'll just submit this today (since I
addressed all his comments) and I can address further comments of his in a
follow up.

On 2010/06/21 23:43:17, ncarter wrote:
> Thanks for the fixes.  LGTM

Powered by Google App Engine
This is Rietveld 408576698