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

Issue 8841: Pass a user agent string to WinHttpOpen to set the user... (Closed)

Created:
12 years, 1 month ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Pass a user agent string to WinHttpOpen to set the user agent string on the session handle, which is the only way to specify the User-Agent header for HTTP CONNECT requests. This requires some refactoring. Most of the work done by Session::Init() is moved to the Session constructor. Session::Init() now only creates the primary session handle, and the call to Session::Init() is delayed to the first time we use the primary session handle (session_->internet()). R=darin BUG=552 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4114

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -60 lines) Patch
M net/http/http_transaction_winhttp.cc View 1 2 3 4 8 chunks +61 lines, -60 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wtc
12 years, 1 month ago (2008-10-28 19:24:49 UTC) #1
darin (slow to review)
12 years, 1 month ago (2008-10-29 00:11:04 UTC) #2
LGTM, nice work.

Powered by Google App Engine
This is Rietveld 408576698