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

Issue 7535007: Implement PPB_Flash_TCPSocket.InitiateSSL. (Closed)

Created:
9 years, 4 months ago by yzshen1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Visibility:
Public.

Description

Implement PPB_Flash_TCPSocket.InitiateSSL. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97005

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make changes according to Brett's suggestions. #

Total comments: 2

Patch Set 3 : . #

Total comments: 23

Patch Set 4 : sync & make changes according to Wan-Teh's suggestions. #

Patch Set 5 : Add two missing files. #

Total comments: 14

Patch Set 6 : Make changes according to Wan-Teh's suggestions. #

Total comments: 2

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -109 lines) Patch
M content/browser/renderer_host/pepper_message_filter.cc View 1 2 3 4 5 17 chunks +198 lines, -78 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/client_socket_factory.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 2 chunks +37 lines, -0 lines 0 comments Download
M ppapi/c/private/ppb_flash_tcp_socket.h View 1 2 3 4 5 3 chunks +11 lines, -5 lines 0 comments Download
M ppapi/cpp/private/flash_tcp_socket.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/cpp/private/flash_tcp_socket.cc View 1 2 3 4 5 1 chunk +6 lines, -4 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_flash_tcp_socket_proxy.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_flash_tcp_socket_proxy.cc View 1 2 3 4 5 15 chunks +75 lines, -13 lines 0 comments Download
M ppapi/thunk/ppb_flash_tcp_socket_api.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_flash_tcp_socket_thunk.cc View 1 2 3 4 5 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
yzshen1
Hi, William: please review changes in client_socket_factory.h and the code in pepper_message_filter.cc that creates SSL ...
9 years, 4 months ago (2011-08-03 23:28:33 UTC) #1
brettw
The Pepper stuff LGTM, hopefully Will can take a quick glance at the SSL usage ...
9 years, 4 months ago (2011-08-08 20:08:43 UTC) #2
yzshen1
Thanks, Brett! William: Would you please take a look? Thanks! http://codereview.chromium.org/7535007/diff/1/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/1/content/browser/renderer_host/pepper_message_filter.cc#newcode234 ...
9 years, 4 months ago (2011-08-08 21:51:40 UTC) #3
willchan no longer on Chromium
I just got off the plane a few hours back. I'll try to get to ...
9 years, 4 months ago (2011-08-08 22:00:28 UTC) #4
willchan no longer on Chromium
This has some stuff I'd like wtc to take a look at too. I'm going ...
9 years, 4 months ago (2011-08-09 17:05:26 UTC) #5
yzshen1
Thanks, William. http://codereview.chromium.org/7535007/diff/5001/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/5001/content/browser/renderer_host/pepper_message_filter.cc#newcode332 content/browser/renderer_host/pepper_message_filter.cc:332: OnInitiateSSLCompleted(net::ERR_FAILED); On 2011/08/09 17:05:26, willchan wrote: > ...
9 years, 4 months ago (2011-08-09 17:23:20 UTC) #6
wtc
http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc#newcode238 content/browser/renderer_host/pepper_message_filter.cc:238: scoped_ptr<net::CertVerifier> cert_verifier_; The net::CertVerifier should be stored in net::SSLClientSocketContext. ...
9 years, 4 months ago (2011-08-09 21:21:29 UTC) #7
yzshen1
Thanks, Wan-Teh! I have replied to all your comments and I will upload a new ...
9 years, 4 months ago (2011-08-09 23:45:28 UTC) #8
yzshen1
Wan-Teh: Ping. Would you please take a look? Thanks! On 2011/08/09 23:45:28, yzshen1 wrote: > ...
9 years, 4 months ago (2011-08-12 16:44:49 UTC) #9
yzshen1
The following are comments from wtc: http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc#newcode224 content/browser/renderer_host/pepper_message_filter.cc:224: const net::SSLClientSocketContext& GetSSLClientSocketContext(); ...
9 years, 4 months ago (2011-08-12 21:31:39 UTC) #10
yzshen1
Hi, Wan-Teh. Thanks for your review! Please take another look. http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/7001/content/browser/renderer_host/pepper_message_filter.cc#newcode224 ...
9 years, 4 months ago (2011-08-13 00:40:34 UTC) #11
wtc
LGTM. I reviewed Patch Set 5. I suggest some changes below. The most important ones ...
9 years, 4 months ago (2011-08-15 19:35:12 UTC) #12
yzshen1
Thanks, Wan-Teh! http://codereview.chromium.org/7535007/diff/20003/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/7535007/diff/20003/content/browser/renderer_host/pepper_message_filter.cc#newcode136 content/browser/renderer_host/pepper_message_filter.cc:136: void SSLHandshake(const std::string& host, uint16_t port); Done. ...
9 years, 4 months ago (2011-08-15 23:09:32 UTC) #13
wtc
http://codereview.chromium.org/7535007/diff/16010/ppapi/cpp/private/flash_tcp_socket.h File ppapi/cpp/private/flash_tcp_socket.h (right): http://codereview.chromium.org/7535007/diff/16010/ppapi/cpp/private/flash_tcp_socket.h#newcode35 ppapi/cpp/private/flash_tcp_socket.h:35: uint16_t server_port, In our face-to-face discussion, you told me ...
9 years, 4 months ago (2011-08-15 23:17:23 UTC) #14
wtc
You should also update the Description of the CL to reflect the new function name. ...
9 years, 4 months ago (2011-08-15 23:18:03 UTC) #15
wtc
LGTM! (I reviewed Patch Set 6.) http://codereview.chromium.org/7535007/diff/16010/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): http://codereview.chromium.org/7535007/diff/16010/net/socket/ssl_client_socket_unittest.cc#newcode743 net/socket/ssl_client_socket_unittest.cc:743: } Add EXPECT_EQ(net::OK, ...
9 years, 4 months ago (2011-08-15 23:58:11 UTC) #16
commit-bot: I haz the power
9 years, 4 months ago (2011-08-16 19:32:32 UTC) #17
Change committed as 97005

Powered by Google App Engine
This is Rietveld 408576698