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

Issue 165008: Fix for an "update in progress" DCHECK (Closed)

Created:
11 years, 4 months ago by Paul Godavari
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Paul Godavari, Ben Goodger (Google)
Visibility:
Public.

Description

Fix for an "update in progress" DCHECK. A DCHECK in SafeBrowsingService::UpdateStarted can potentially be triggered if there is an error opening the database for reading, or if there is no response from the server for a update request. Both of these cases can cause our 'update_in_progress_' flag to not be reset properly before the next update. This CL adds: - a timeout for update responses - better handling for database errors that properly resets the update state. BUG=12835 (http://crbug.com/12835) TEST=None. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22814

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M chrome/browser/safe_browsing/protocol_manager.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 1 2 3 4 5 6 4 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Paul Godavari
11 years, 4 months ago (2009-08-06 01:12:11 UTC) #1
jam
lgtm
11 years, 4 months ago (2009-08-07 21:18:46 UTC) #2
Paul Godavari
11 years, 4 months ago (2009-08-13 05:24:52 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698