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

Issue 5406002: Use proper URLRequestContext for WebSocket. (Closed)

Created:
10 years ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Use proper URLRequestContext for WebSocket. WebSocket is handled by SocketStreamHost and used URLRequestContext created from Profile::GetDefaultRequestContext(). It should use URLRequestContext got from ResourceDispatcherHost::Receiver, as ResourceDispatcherHost::BeginRequest() does. BUG=62152 TEST=none

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix for review comments #

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

Messages

Total messages: 9 (0 generated)
ukai
10 years ago (2010-11-30 10:44:26 UTC) #1
Randy Smith (Not in Mondays)
http://codereview.chromium.org/5406002/diff/1/chrome/browser/renderer_host/socket_stream_host.cc File chrome/browser/renderer_host/socket_stream_host.cc (right): http://codereview.chromium.org/5406002/diff/1/chrome/browser/renderer_host/socket_stream_host.cc#newcode67 chrome/browser/renderer_host/socket_stream_host.cc:67: // so that we can use the same request_id. ...
10 years ago (2010-11-30 18:17:47 UTC) #2
eroman
I have basically the same comments as Randy. Please remove the casts of the URLRequestContext ...
10 years ago (2010-12-03 06:16:39 UTC) #3
ukai
I add darin as reviewer. Darin, this is a fix that WebSocket uses proper URLRequestContext ...
10 years ago (2010-12-07 02:21:04 UTC) #4
ukai
ping
10 years ago (2010-12-13 10:48:29 UTC) #5
Randy Smith (Not in Mondays)
On 2010/12/13 10:48:29, ukai wrote: > ping My apologies, Ukai, I had mis-remembered that I ...
10 years ago (2010-12-13 16:45:41 UTC) #6
jam
Hi, I actually would really prefer if this change is held off, while my refactoring ...
10 years ago (2010-12-15 01:07:30 UTC) #7
jam
Thanks for waiting. My change landed earlier today in http://src.chromium.org/viewvc/chrome?view=rev&revision=69335 The SocketStreamDispatcherHost can just copy ...
10 years ago (2010-12-16 00:58:28 UTC) #8
Randy Smith (Not in Mondays)
9 years, 12 months ago (2010-12-26 19:44:28 UTC) #9
Noticed I hadn't published a nit going over my old issues.

http://codereview.chromium.org/5406002/diff/6001/chrome/browser/renderer_host...
File chrome/browser/renderer_host/socket_stream_host.cc (right):

http://codereview.chromium.org/5406002/diff/6001/chrome/browser/renderer_host...
chrome/browser/renderer_host/socket_stream_host.cc:14: 
Nit: Remove extra blank line.

Powered by Google App Engine
This is Rietveld 408576698