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

Issue 377041: Add instrumentation to track down a crash.... (Closed)

Created:
11 years, 1 month ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com, darin (slow to review), ben+cc_chromium.org
Visibility:
Public.

Description

Add instrumentation to track down a crash. Promotes some DCHECKs to CHECKs, to figure out who is calling URLFetcher::Start() without having first set a valid request context. Also adds a |was_cancelled_| variable to rule out that Start() isn't called after the request was already cancelled. This change can be reverted once we get the data. BUG=27074 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31526

Patch Set 1 #

Total comments: 2

Patch Set 2 : make a comment more descriptive #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
M chrome/browser/net/url_fetcher.cc View 1 4 chunks +12 lines, -3 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
eroman
11 years, 1 month ago (2009-11-10 00:28:40 UTC) #1
wtc
LGTM. http://codereview.chromium.org/377041/diff/1/2 File chrome/browser/net/url_fetcher.cc (right): http://codereview.chromium.org/377041/diff/1/2#newcode98 Line 98: // Temporary variable to test a crash ...
11 years, 1 month ago (2009-11-10 00:53:06 UTC) #2
eroman
http://codereview.chromium.org/377041/diff/1/2 File chrome/browser/net/url_fetcher.cc (right): http://codereview.chromium.org/377041/diff/1/2#newcode98 Line 98: // Temporary variable to test a crash theory. ...
11 years, 1 month ago (2009-11-10 01:00:31 UTC) #3
wtc
11 years, 1 month ago (2009-11-10 01:09:25 UTC) #4
http://codereview.chromium.org/377041/diff/2002/2003
File chrome/browser/net/url_fetcher.cc (right):

http://codereview.chromium.org/377041/diff/2002/2003#newcode101
Line 101: bool was_cancelled_;
You explained what this member is for, but you should also
describe what it is.
  True if the request has been cancelled.
or
  True if CancelURLRequest has been called.

Powered by Google App Engine
This is Rietveld 408576698