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

Issue 10824140: Add InvalidationStateTracker::Forget() to erase an entry from storage. (Closed)

Created:
8 years, 4 months ago by dcheng
Modified:
8 years, 3 months ago
Reviewers:
akalin
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing)
Visibility:
Public.

Description

Add InvalidationStateTracker::Forget() to erase an entry from storage. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154826

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase to ToT #

Patch Set 3 : . #

Total comments: 11

Patch Set 4 : Codereview changes #

Patch Set 5 : Comment+rebase #

Patch Set 6 : Rebase again #

Patch Set 7 : Fix sync_client target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -17 lines) Patch
M chrome/browser/sync/invalidations/invalidator_storage.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/invalidations/invalidator_storage.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/sync/invalidations/invalidator_storage_unittest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M sync/notifier/chrome_invalidation_client.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M sync/notifier/chrome_invalidation_client.cc View 1 2 3 4 4 chunks +18 lines, -7 lines 0 comments Download
M sync/notifier/fake_invalidation_state_tracker.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M sync/notifier/fake_invalidation_state_tracker.cc View 1 2 3 2 chunks +10 lines, -4 lines 0 comments Download
M sync/notifier/invalidation_state_tracker.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sync/notifier/registration_manager.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M sync/notifier/registration_manager.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M sync/notifier/registration_manager_unittest.cc View 1 1 chunk +8 lines, -2 lines 0 comments Download
M sync/tools/sync_client.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M sync/tools/sync_listen_notifications.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
dcheng
Is there already a bug for this? Otherwise, I'm going to go ahead and create ...
8 years, 4 months ago (2012-08-01 23:17:44 UTC) #1
akalin
On 2012/08/01 23:17:44, dcheng wrote: > Is there already a bug for this? Otherwise, I'm ...
8 years, 4 months ago (2012-08-01 23:37:36 UTC) #2
akalin
Here's the CL: https://chromiumcodereview.appspot.com/10827133/
8 years, 4 months ago (2012-08-02 07:01:28 UTC) #3
akalin
Also note in CL description that you use Forget() when IDs are unregistered. http://codereview.chromium.org/10824140/diff/1/sync/notifier/chrome_invalidation_client.cc File ...
8 years, 4 months ago (2012-08-02 07:04:30 UTC) #4
dcheng
On 2012/08/02 07:04:30, akalin wrote: > Also note in CL description that you use Forget() ...
8 years, 4 months ago (2012-08-02 15:09:53 UTC) #5
akalin
On 2012/08/02 15:09:53, dcheng wrote: > On 2012/08/02 07:04:30, akalin wrote: > > Also note ...
8 years, 4 months ago (2012-08-02 20:01:39 UTC) #6
akalin
I think this is ready to rebase onto trunk
8 years, 4 months ago (2012-08-13 22:11:19 UTC) #7
akalin
On 2012/08/13 22:11:19, akalin wrote: > I think this is ready to rebase onto trunk ...
8 years, 4 months ago (2012-08-20 20:51:11 UTC) #8
dcheng
I've updated this patch now. Please take another look =)
8 years, 4 months ago (2012-08-21 23:46:28 UTC) #9
akalin
yay, tests http://codereview.chromium.org/10824140/diff/9009/sync/notifier/chrome_invalidation_client.cc File sync/notifier/chrome_invalidation_client.cc (right): http://codereview.chromium.org/10824140/diff/9009/sync/notifier/chrome_invalidation_client.cc#newcode294 sync/notifier/chrome_invalidation_client.cc:294: invalidation_state_tracker_.Call( resurrecting my old comment, make Forget ...
8 years, 4 months ago (2012-08-22 19:57:30 UTC) #10
dcheng
http://codereview.chromium.org/10824140/diff/9009/sync/notifier/chrome_invalidation_client.cc File sync/notifier/chrome_invalidation_client.cc (right): http://codereview.chromium.org/10824140/diff/9009/sync/notifier/chrome_invalidation_client.cc#newcode294 sync/notifier/chrome_invalidation_client.cc:294: invalidation_state_tracker_.Call( On 2012/08/22 19:57:30, akalin wrote: > resurrecting my ...
8 years, 4 months ago (2012-08-24 01:35:24 UTC) #11
akalin
rebase? http://codereview.chromium.org/10824140/diff/9009/sync/notifier/registration_manager.h File sync/notifier/registration_manager.h (right): http://codereview.chromium.org/10824140/diff/9009/sync/notifier/registration_manager.h#newcode73 sync/notifier/registration_manager.h:73: ObjectIdSet UpdateRegisteredIds(const ObjectIdSet& ids); On 2012/08/24 01:35:25, dcheng ...
8 years, 3 months ago (2012-08-29 17:33:54 UTC) #12
dcheng
http://codereview.chromium.org/10824140/diff/9009/sync/notifier/registration_manager.h File sync/notifier/registration_manager.h (right): http://codereview.chromium.org/10824140/diff/9009/sync/notifier/registration_manager.h#newcode84 sync/notifier/registration_manager.h:84: void DisableId(const invalidation::ObjectId& id); On 2012/08/29 17:33:54, akalin wrote: ...
8 years, 3 months ago (2012-08-31 05:56:46 UTC) #13
akalin
lgtm!
8 years, 3 months ago (2012-08-31 19:46:25 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/10824140/23001
8 years, 3 months ago (2012-08-31 21:11:33 UTC) #15
commit-bot: I haz the power
Try job failure for 10824140-23001 (retry) on mac for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-08-31 21:41:33 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/10824140/23002
8 years, 3 months ago (2012-09-04 18:59:22 UTC) #17
commit-bot: I haz the power
Try job failure for 10824140-23002 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-04 19:14:54 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/10824140/25017
8 years, 3 months ago (2012-09-04 19:59:14 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-04 22:22:19 UTC) #20
Change committed as 154826

Powered by Google App Engine
This is Rietveld 408576698