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

Issue 11415049: Implement features needed for local ack handling in InvalidationStateTracker. (Closed)

Created:
8 years, 1 month ago by dcheng
Modified:
8 years ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, haitaol1, pam+watch_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Implement features needed for local ack handling in InvalidationStateTracker. Adds the ability to save payloads in InvalidationStateTracker, and also adds the functionality to generate, track, and acknowledge local ack handles. BUG=124149 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171165

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 36

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : Add base::Time to AckHandle #

Patch Set 7 : Remove silliness #

Patch Set 8 : Merge to HEAD #

Total comments: 8

Patch Set 9 : . #

Total comments: 14

Patch Set 10 : . #

Patch Set 11 : uint8_t->uint8 #

Patch Set 12 : Fix build #

Patch Set 13 : ... #

Patch Set 14 : ...... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -153 lines) Patch
M chrome/browser/sync/invalidations/invalidator_storage.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/sync/invalidations/invalidator_storage.cc View 1 2 3 4 5 6 6 chunks +83 lines, -10 lines 0 comments Download
M chrome/browser/sync/invalidations/invalidator_storage_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +177 lines, -32 lines 0 comments Download
M sync/internal_api/public/base/invalidation.h View 1 2 3 4 5 2 chunks +21 lines, -10 lines 0 comments Download
M sync/internal_api/public/base/invalidation.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +51 lines, -6 lines 0 comments Download
M sync/internal_api/public/base/invalidation_test_util.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M sync/internal_api/public/base/invalidation_test_util.cc View 1 2 3 4 5 6 3 chunks +53 lines, -2 lines 0 comments Download
M sync/notifier/fake_invalidation_state_tracker.h View 1 chunk +9 lines, -2 lines 0 comments Download
M sync/notifier/fake_invalidation_state_tracker.cc View 1 2 3 3 chunks +29 lines, -2 lines 0 comments Download
M sync/notifier/invalidation_state_tracker.h View 1 2 3 4 chunks +40 lines, -4 lines 0 comments Download
M sync/notifier/invalidation_state_tracker.cc View 1 1 chunk +12 lines, -1 line 0 comments Download
M sync/notifier/p2p_invalidator_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M sync/notifier/sync_invalidation_listener.cc View 1 1 chunk +8 lines, -7 lines 0 comments Download
M sync/sync.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -0 lines 0 comments Download
A sync/tools/null_invalidation_state_tracker.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A sync/tools/null_invalidation_state_tracker.cc View 1 2 3 4 5 6 7 8 9 1 chunk +66 lines, -0 lines 0 comments Download
M sync/tools/sync_client.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -36 lines 0 comments Download
M sync/tools/sync_listen_notifications.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -37 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
dcheng
Note that I thought more about the debug info you asked about last time. Here ...
8 years, 1 month ago (2012-11-22 01:14:53 UTC) #1
akalin
On 2012/11/22 01:14:53, dcheng wrote: > Note that I thought more about the debug info ...
8 years ago (2012-11-28 00:00:07 UTC) #2
akalin
some nits https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc File chrome/browser/sync/invalidations/invalidator_storage.cc (right): https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc#newcode55 chrome/browser/sync/invalidations/invalidator_storage.cc:55: if (value.GetString(kMaxVersionKey, &max_version_str)) { isn't kMaxVersionkey always ...
8 years ago (2012-11-28 00:11:42 UTC) #3
dcheng
I've also added base::Time as a member of AckHandle. https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc File chrome/browser/sync/invalidations/invalidator_storage.cc (right): https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc#newcode55 chrome/browser/sync/invalidations/invalidator_storage.cc:55: ...
8 years ago (2012-11-30 01:42:54 UTC) #4
akalin
https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc File chrome/browser/sync/invalidations/invalidator_storage.cc (right): https://codereview.chromium.org/11415049/diff/18/chrome/browser/sync/invalidations/invalidator_storage.cc#newcode63 chrome/browser/sync/invalidations/invalidator_storage.cc:63: // The ack handle fields won't be set if ...
8 years ago (2012-11-30 02:45:15 UTC) #5
dcheng
https://codereview.chromium.org/11415049/diff/18/sync/internal_api/public/base/invalidation.h File sync/internal_api/public/base/invalidation.h (right): https://codereview.chromium.org/11415049/diff/18/sync/internal_api/public/base/invalidation.h#newcode25 sync/internal_api/public/base/invalidation.h:25: On 2012/11/30 02:45:15, akalin wrote: > On 2012/11/30 01:42:54, ...
8 years ago (2012-11-30 02:48:30 UTC) #6
akalin
few more https://codereview.chromium.org/11415049/diff/9025/chrome/browser/sync/invalidations/invalidator_storage.cc File chrome/browser/sync/invalidations/invalidator_storage.cc (right): https://codereview.chromium.org/11415049/diff/9025/chrome/browser/sync/invalidations/invalidator_storage.cc#newcode301 chrome/browser/sync/invalidations/invalidator_storage.cc:301: ignore_result(task_runner->PostTask(FROM_HERE, compiler_specific.h for ignore_result https://codereview.chromium.org/11415049/diff/9025/chrome/browser/sync/invalidations/invalidator_storage_unittest.cc File chrome/browser/sync/invalidations/invalidator_storage_unittest.cc ...
8 years ago (2012-11-30 02:53:02 UTC) #7
akalin
https://codereview.chromium.org/11415049/diff/18/sync/tools/sync_listen_notifications.cc File sync/tools/sync_listen_notifications.cc (right): https://codereview.chromium.org/11415049/diff/18/sync/tools/sync_listen_notifications.cc#newcode117 sync/tools/sync_listen_notifications.cc:117: LOG(INFO) << "Setting bootstrap data to: " << base64_data; ...
8 years ago (2012-11-30 02:54:31 UTC) #8
dcheng
https://codereview.chromium.org/11415049/diff/9025/chrome/browser/sync/invalidations/invalidator_storage.cc File chrome/browser/sync/invalidations/invalidator_storage.cc (right): https://codereview.chromium.org/11415049/diff/9025/chrome/browser/sync/invalidations/invalidator_storage.cc#newcode301 chrome/browser/sync/invalidations/invalidator_storage.cc:301: ignore_result(task_runner->PostTask(FROM_HERE, On 2012/11/30 02:53:02, akalin wrote: > compiler_specific.h for ...
8 years ago (2012-11-30 23:44:54 UTC) #9
dcheng
Ping!
8 years ago (2012-12-04 18:05:59 UTC) #10
akalin
lgtm! https://codereview.chromium.org/11415049/diff/3054/sync/sync.gyp File sync/sync.gyp (right): https://codereview.chromium.org/11415049/diff/3054/sync/sync.gyp#newcode934 sync/sync.gyp:934: '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', depend on 'sync_notifier' instead (looks like it ...
8 years ago (2012-12-04 18:14:59 UTC) #11
dcheng
https://codereview.chromium.org/11415049/diff/3054/sync/sync.gyp File sync/sync.gyp (right): https://codereview.chromium.org/11415049/diff/3054/sync/sync.gyp#newcode934 sync/sync.gyp:934: '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', On 2012/12/04 18:15:00, akalin wrote: > depend on ...
8 years ago (2012-12-04 19:10:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/11415049/3056
8 years ago (2012-12-04 19:21:59 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years ago (2012-12-04 19:30:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/11415049/8009
8 years ago (2012-12-04 19:53:02 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 20:19:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/11415049/8012
8 years ago (2012-12-04 20:52:17 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 21:27:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/11415049/14025
8 years ago (2012-12-04 22:43:09 UTC) #19
commit-bot: I haz the power
Failed to trigger a try job on android_dbg HTTP Error 400: Bad Request
8 years ago (2012-12-04 23:27:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/11415049/11059
8 years ago (2012-12-04 23:28:00 UTC) #21
commit-bot: I haz the power
8 years ago (2012-12-05 03:38:56 UTC) #22
Retried try job too often on linux_rel for step(s) content_unittests

Powered by Google App Engine
This is Rietveld 408576698