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

Issue 703463006: Fix DCHECK when shutting down safe browsing DownloadMetadataManager. (Closed)

Created:
6 years, 1 month ago by grt (UTC plus 2)
Modified:
6 years, 1 month ago
Reviewers:
MAD, robertshield
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix DCHECK when shutting down safe browsing DownloadMetadataManager. Chrome announces that a DownloadManager is going down before it destroys its items. This change makes the unit test behave more like chrome does and makes the metadata manager handle this shutdown order properly. BUG=389123, 386915, 389643 R=robertshield@chromium.org Committed: https://crrev.com/f1f59477f54feacd508eee215d66fe7086700179 Cr-Commit-Position: refs/heads/master@{#302746}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -19 lines) Patch
M chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.cc View 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc View 4 chunks +11 lines, -14 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
grt (UTC plus 2)
Quickie for you. Please take a look.
6 years, 1 month ago (2014-11-05 00:58:55 UTC) #1
robertshield
Code LGTM, MAD claims knowledge of the GMock warning and that it might be squashable. ...
6 years, 1 month ago (2014-11-05 01:04:50 UTC) #3
grt (UTC plus 2)
Thanks. Happy to learn from MAD if he has ideas. See my comment below with ...
6 years, 1 month ago (2014-11-05 01:25:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703463006/1
6 years, 1 month ago (2014-11-05 01:27:33 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-05 02:16:19 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 02:17:41 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f1f59477f54feacd508eee215d66fe7086700179
Cr-Commit-Position: refs/heads/master@{#302746}

Powered by Google App Engine
This is Rietveld 408576698