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

Issue 5903005: The URLRequestContext for off-the-record mode should... (Closed)

Created:
10 years ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
agl, Nirnimesh
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

The URLRequestContext for off-the-record mode should have a non-NULL cert_verifier, otherwise SSLClientSocket in off-the-record mode will crash when verifying a certificate. Just share the same cert verifier with the original profile. R=agl,nirnimesh BUG=63357 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69478

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
wtc
10 years ago (2010-12-16 22:39:05 UTC) #1
Nirnimesh
LGTM
10 years ago (2010-12-16 22:40:56 UTC) #2
wtc
10 years ago (2010-12-17 01:11:42 UTC) #3
http://codereview.chromium.org/5903005/diff/1/chrome/browser/net/chrome_url_r...
File chrome/browser/net/chrome_url_request_context.cc (right):

http://codereview.chromium.org/5903005/diff/1/chrome/browser/net/chrome_url_r...
chrome/browser/net/chrome_url_request_context.cc:408:
context->set_cert_verifier(original_context->cert_verifier());
agl: I noticed that you don't copy original_context->dnsrr_resolver()
here, and you pass NULL as dns_cert_checker to
new net::HttpCache() at line 420 below.

Is that intentional or an oversight?

Powered by Google App Engine
This is Rietveld 408576698