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

Issue 2427863002: Small: Use a weak pointer for callbacks to V4LocalDatabaseManager (Closed)

Created:
4 years, 2 months ago by vakh (use Gerrit instead)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, vakh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a weak pointer for callbacks to V4LocalDatabaseManager BUG=543161, 647237 Committed: https://crrev.com/5de30503b1458fc131a0268196638a76617a9c6a Cr-Commit-Position: refs/heads/master@{#426050}

Patch Set 1 #

Total comments: 5

Patch Set 2 : WaitForTasksOnTaskRunner at the end of the test to ensure that the scheduled tasks get run. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -11 lines) Patch
M components/safe_browsing_db/v4_local_database_manager.h View 2 chunks +3 lines, -0 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager.cc View 1 5 chunks +13 lines, -8 lines 0 comments Download
M components/safe_browsing_db/v4_local_database_manager_unittest.cc View 1 2 chunks +34 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
vakh (use Gerrit instead)
4 years, 2 months ago (2016-10-17 23:57:17 UTC) #3
vakh (use Gerrit instead)
4 years, 2 months ago (2016-10-18 00:05:30 UTC) #5
Scott Hess - ex-Googler
https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager_unittest.cc File components/safe_browsing_db/v4_local_database_manager_unittest.cc (right): https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager_unittest.cc#newcode362 components/safe_browsing_db/v4_local_database_manager_unittest.cc:362: } This seems like StopOnIOThread() maybe has posted things ...
4 years, 2 months ago (2016-10-18 03:13:00 UTC) #8
Nathan Parker
lgtm modulo shess's comment https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager.cc File components/safe_browsing_db/v4_local_database_manager.cc (right): https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager.cc#newcode273 components/safe_browsing_db/v4_local_database_manager.cc:273: v4_update_protocol_manager_.reset(); Does this mean that ...
4 years, 2 months ago (2016-10-18 05:06:37 UTC) #9
Nathan Parker
nit: no need to attach two bugs to a CL unless they are otherwise unrelated. ...
4 years, 2 months ago (2016-10-18 05:08:54 UTC) #10
vakh (use Gerrit instead)
On 2016/10/18 05:08:54, Nathan Parker wrote: > nit: no need to attach two bugs to ...
4 years, 2 months ago (2016-10-18 17:37:29 UTC) #11
vakh (use Gerrit instead)
https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager.cc File components/safe_browsing_db/v4_local_database_manager.cc (right): https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager.cc#newcode273 components/safe_browsing_db/v4_local_database_manager.cc:273: v4_update_protocol_manager_.reset(); On 2016/10/18 05:06:37, Nathan Parker wrote: > Does ...
4 years, 2 months ago (2016-10-18 17:37:44 UTC) #12
vakh (use Gerrit instead)
WaitForTasksOnTaskRunner at the end of the test to ensure that the scheduled tasks get run.
4 years, 2 months ago (2016-10-18 20:04:48 UTC) #14
vakh (use Gerrit instead)
Patch uploaded now.
4 years, 2 months ago (2016-10-18 20:05:38 UTC) #17
Scott Hess - ex-Googler
lgtm https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager_unittest.cc File components/safe_browsing_db/v4_local_database_manager_unittest.cc (right): https://codereview.chromium.org/2427863002/diff/1/components/safe_browsing_db/v4_local_database_manager_unittest.cc#newcode362 components/safe_browsing_db/v4_local_database_manager_unittest.cc:362: } On 2016/10/18 17:37:44, vakh (Varun Khaneja) wrote: ...
4 years, 2 months ago (2016-10-18 20:09:56 UTC) #18
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/2427863002/20001
4 years, 2 months ago (2016-10-18 20:17:50 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-18 21:26:15 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:03:17 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5de30503b1458fc131a0268196638a76617a9c6a
Cr-Commit-Position: refs/heads/master@{#426050}

Powered by Google App Engine
This is Rietveld 408576698