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

Issue 10878003: Refactoring for merging WebSocket test server to net::TestServer (Closed)

Created:
8 years, 4 months ago by Takashi Toyoshima
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Ryan Sleevi
Visibility:
Public.

Description

Refactoring for merging WebSocket test server to net::TestServer - rename HTTPSOptions to SSLOptions - pass an argument for secure server to specify the service protocol type BUG=137639 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152902

Patch Set 1 #

Patch Set 2 : 2 #

Patch Set 3 : 2 #

Patch Set 4 : 4 #

Patch Set 5 : 5 #

Total comments: 6

Patch Set 6 : reflect Ryan's review #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -192 lines) Patch
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 6 chunks +27 lines, -21 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 2 3 4 2 chunks +10 lines, -9 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 6 chunks +30 lines, -19 lines 0 comments Download
M net/test/base_test_server.h View 1 2 3 4 5 4 chunks +14 lines, -11 lines 5 comments Download
M net/test/base_test_server.cc View 9 chunks +35 lines, -29 lines 2 comments Download
M net/test/local_test_server.h View 1 chunk +3 lines, -2 lines 0 comments Download
M net/test/local_test_server.cc View 1 2 3 4 5 3 chunks +10 lines, -5 lines 2 comments Download
M net/test/remote_test_server.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M net/test/remote_test_server.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M net/tools/testserver/run_testserver.cc View 1 2 2 chunks +9 lines, -7 lines 0 comments Download
M net/url_request/url_fetcher_impl_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 19 chunks +77 lines, -67 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Takashi Toyoshima
Hi Paweł, I added you as an OWNERS reviewer because git suggested. Also added Ryan ...
8 years, 4 months ago (2012-08-22 08:55:04 UTC) #1
Ryan Sleevi
Mechanical changes LGTM. A few nits, one spelling. http://codereview.chromium.org/10878003/diff/10001/net/test/base_test_server.h File net/test/base_test_server.h (right): http://codereview.chromium.org/10878003/diff/10001/net/test/base_test_server.h#newcode230 net/test/base_test_server.h:230: // ...
8 years, 4 months ago (2012-08-22 09:21:16 UTC) #2
Takashi Toyoshima
Thank you Ryan. So, I got an approval for net/. I'll add another reviewer for ...
8 years, 4 months ago (2012-08-22 13:39:16 UTC) #3
Takashi Toyoshima
Hi Sky, Could you allow me to land this change? This is a simple refactoring ...
8 years, 4 months ago (2012-08-22 13:42:32 UTC) #4
sky
LGTM
8 years, 4 months ago (2012-08-22 14:00:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/10878003/2005
8 years, 4 months ago (2012-08-22 14:01:20 UTC) #6
commit-bot: I haz the power
Try job failure for 10878003-2005 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 16:15:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/10878003/2005
8 years, 4 months ago (2012-08-22 16:44:27 UTC) #8
commit-bot: I haz the power
Try job failure for 10878003-2005 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 18:29:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/10878003/2005
8 years, 4 months ago (2012-08-22 22:43:45 UTC) #10
commit-bot: I haz the power
Change committed as 152902
8 years, 4 months ago (2012-08-23 01:05:14 UTC) #11
Paweł Hajdan Jr.
https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.cc File net/test/base_test_server.cc (right): https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.cc#newcode312 net/test/base_test_server.cc:312: if ((type_ == TYPE_HTTPS || type_ == TYPE_WSS) && ...
8 years, 3 months ago (2012-08-30 08:56:33 UTC) #12
Ryan Sleevi
https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.h File net/test/base_test_server.h (right): https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.h#newcode38 net/test/base_test_server.h:38: TYPE_WS, On 2012/08/30 08:56:34, Paweł Hajdan Jr. wrote: > ...
8 years, 3 months ago (2012-08-30 14:25:46 UTC) #13
Paweł Hajdan Jr.
https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.h File net/test/base_test_server.h (right): https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.h#newcode38 net/test/base_test_server.h:38: TYPE_WS, On 2012/08/30 14:25:46, Ryan Sleevi wrote: > On ...
8 years, 3 months ago (2012-08-31 07:51:29 UTC) #14
Takashi Toyoshima
https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.cc File net/test/base_test_server.cc (right): https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_server.cc#newcode312 net/test/base_test_server.cc:312: if ((type_ == TYPE_HTTPS || type_ == TYPE_WSS) && ...
8 years, 3 months ago (2012-09-01 09:07:30 UTC) #15
Paweł Hajdan Jr.
8 years, 3 months ago (2012-09-04 09:30:11 UTC) #16
https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_...
File net/test/base_test_server.h (right):

https://chromiumcodereview.appspot.com/10878003/diff/2005/net/test/base_test_...
net/test/base_test_server.h:38: TYPE_WS,
On 2012/09/01 09:07:30, toyoshim wrote:
> WebSocket or ws.
> I'm often worried about which is better symbol there.
> We never say HyperTextTransferProtocol, but just HTTP.

+1

> On the other hand, WS is too short to identify, and is not well-known for now.
> 
> How about adding a common comment like
> // Following types represent protocol schemes. See also
> http://www.iana.org/assignments/uri-schemes.html
> or something just before the line 33.
> 
> I'll apply this to http://codereview.chromium.org/10879029/

Generally sounds good, although I'm not sure if gdata or sync are IANA
schemes... It may be better to just a comment for ws and wss that they are about
websockets.

Powered by Google App Engine
This is Rietveld 408576698