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

Issue 2688413014: Reland of actor History's CommitLaterTask with CancelableCallback (Closed)

Created:
3 years, 10 months ago by mastiz
Modified:
3 years, 10 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of actor History's CommitLaterTask with CancelableCallback (patchset #1 id:1 of https://codereview.chromium.org/2697513002/ ) Reason for revert: Surfaced use-after free preceded the CL and has been fixed since by https://codereview.chromium.org/2690993002 Original issue's description: > Revert of Refactor History's CommitLaterTask with CancelableCallback (patchset #7 id:120001 of https://codereview.chromium.org/2672753002/ ) > > Reason for revert: > Suspect for introducing the memory leak in ~TypedUrlSyncableServiceTest_DeleteUrlAndVisits(). > > For more details, please see: > https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/19518/steps/components_unittests/logs/TypedUrlSyncableServiceTest.DeleteUrlAndVisits > > Original issue's description: > > Refactor History's CommitLaterTask with CancelableCallback > > > > Addresses an old TODO to replace the class with CancelableCallback, > > which is almost a drop-in replacement. > > > > base::Unretained(this) is used for the callback because there should be, > > according to the DCHECK in the destructor, no scheduled commit during > > destruction. > > > > Review-Url: https://codereview.chromium.org/2672753002 > > Cr-Commit-Position: refs/heads/master@{#449735} > > Committed: https://chromium.googlesource.com/chromium/src/+/87585300304e2a813e13b18c3fca1022c167bf91 > > TBR=treib@chromium.org,brettw@chromium.org,gangwu@chromium.org,mastiz@chromium.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > > Review-Url: https://codereview.chromium.org/2697513002 > Cr-Commit-Position: refs/heads/master@{#449925} > Committed: https://chromium.googlesource.com/chromium/src/+/2912ffa778a102b9cade9a99eadbe8757c66bb8a TBR=treib@chromium.org,brettw@chromium.org,gangwu@chromium.org,msramek@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. Review-Url: https://codereview.chromium.org/2688413014 Cr-Commit-Position: refs/heads/master@{#450931} Committed: https://chromium.googlesource.com/chromium/src/+/2cab568cb8a0930e5b705e1ee82e466913cb682f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -53 lines) Patch
M components/history/core/browser/history_backend.h View 4 chunks +5 lines, -5 lines 0 comments Download
M components/history/core/browser/history_backend.cc View 3 chunks +11 lines, -48 lines 0 comments Download
M components/history/core/browser/typed_url_syncable_service_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (7 generated)
mastiz
Created Reland of actor History's CommitLaterTask with CancelableCallback
3 years, 10 months ago (2017-02-16 09:54:44 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2688413014/1
3 years, 10 months ago (2017-02-16 11:23:10 UTC) #7
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 11:28:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2cab568cb8a0930e5b705e1ee82e...

Powered by Google App Engine
This is Rietveld 408576698