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

Issue 8506016: Remove 'Flash' from TCP/UDP Pepper interfaces. (Closed)

Created:
9 years, 1 month ago by dpolukhin
Modified:
9 years, 1 month ago
CC:
chromium-reviews, jam, yzshen+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Remove 'Flash' from TCP/UDP Pepper interfaces names. This CL preserves old idl and C/C++ headers for backward compatibility. Also TCP interface should be returned by old name. BUG=none TEST=build Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110265

Patch Set 1 #

Total comments: 39

Patch Set 2 : update #

Patch Set 3 : rebase #

Patch Set 4 : don't add proxy twice for the same API id #

Patch Set 5 : update #

Total comments: 11

Patch Set 6 : more rename #

Patch Set 7 : more r #

Patch Set 8 : even more rename #

Total comments: 14

Patch Set 9 : more comments resolved #

Patch Set 10 : update TestTCPSocketPrivate #

Total comments: 2

Patch Set 11 : resolved last comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1105 lines, -1745 lines) Patch
M content/browser/renderer_host/pepper_message_filter.h View 1 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/pepper_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 46 chunks +145 lines, -147 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 8 1 chunk +7 lines, -7 lines 0 comments Download
A ppapi/api/private/ppb_tcp_socket_private.idl View 1 1 chunk +114 lines, -0 lines 0 comments Download
A ppapi/api/private/ppb_udp_socket_private.idl View 1 1 chunk +58 lines, -0 lines 0 comments Download
A ppapi/c/private/ppb_tcp_socket_private.h View 1 1 chunk +129 lines, -0 lines 0 comments Download
A ppapi/c/private/ppb_udp_socket_private.h View 1 1 chunk +76 lines, -0 lines 0 comments Download
A ppapi/cpp/private/tcp_socket_private.h View 1 2 3 4 5 6 7 8 9 1 chunk +45 lines, -0 lines 0 comments Download
A ppapi/cpp/private/tcp_socket_private.cc View 1 2 3 4 5 6 7 8 9 1 chunk +105 lines, -0 lines 0 comments Download
A ppapi/cpp/private/udp_socket_private.h View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A ppapi/cpp/private/udp_socket_private.cc View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
M ppapi/ppapi_cpp.gypi View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -12 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 3 chunks +24 lines, -24 lines 0 comments Download
D ppapi/proxy/ppb_flash_tcp_socket_proxy.h View 1 1 chunk +0 lines, -62 lines 0 comments Download
D ppapi/proxy/ppb_flash_tcp_socket_proxy.cc View 1 1 chunk +0 lines, -489 lines 0 comments Download
D ppapi/proxy/ppb_flash_udp_socket_proxy.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D ppapi/proxy/ppb_flash_udp_socket_proxy.cc View 1 1 chunk +0 lines, -373 lines 0 comments Download
A + ppapi/proxy/ppb_tcp_socket_private_proxy.h View 1 2 3 4 5 2 chunks +14 lines, -12 lines 0 comments Download
A + ppapi/proxy/ppb_tcp_socket_private_proxy.cc View 1 2 3 4 5 6 7 8 21 chunks +76 lines, -73 lines 0 comments Download
A + ppapi/proxy/ppb_udp_socket_private_proxy.h View 1 2 3 4 5 2 chunks +14 lines, -12 lines 0 comments Download
A + ppapi/proxy/ppb_udp_socket_private_proxy.cc View 1 2 3 4 5 6 7 8 17 chunks +56 lines, -58 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 4 chunks +13 lines, -12 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -8 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +10 lines, -9 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
D ppapi/thunk/ppb_flash_tcp_socket_api.h View 1 1 chunk +0 lines, -39 lines 0 comments Download
D ppapi/thunk/ppb_flash_tcp_socket_thunk.cc View 1 1 chunk +0 lines, -129 lines 0 comments Download
D ppapi/thunk/ppb_flash_udp_socket_api.h View 1 1 chunk +0 lines, -34 lines 0 comments Download
D ppapi/thunk/ppb_flash_udp_socket_thunk.cc View 1 1 chunk +0 lines, -98 lines 0 comments Download
A + ppapi/thunk/ppb_tcp_socket_private_api.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
A + ppapi/thunk/ppb_tcp_socket_private_thunk.cc View 1 2 3 4 5 11 chunks +17 lines, -17 lines 0 comments Download
A + ppapi/thunk/ppb_udp_socket_private_api.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -7 lines 0 comments Download
A + ppapi/thunk/ppb_udp_socket_private_thunk.cc View 1 2 3 4 5 7 chunks +14 lines, -14 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 3 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Dmitry Polukhin
9 years, 1 month ago (2011-11-09 18:43:41 UTC) #1
viettrungluu
http://codereview.chromium.org/8506016/diff/1/ppapi/cpp/private/flash_tcp_socket.h File ppapi/cpp/private/flash_tcp_socket.h (left): http://codereview.chromium.org/8506016/diff/1/ppapi/cpp/private/flash_tcp_socket.h#oldcode1 ppapi/cpp/private/flash_tcp_socket.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years, 1 month ago (2011-11-09 18:50:19 UTC) #2
viettrungluu
Also, it's probably better to split up this commit. I'll do the net address changes. ...
9 years, 1 month ago (2011-11-09 18:53:20 UTC) #3
Dmitry Polukhin
As for splitting this commit. I'm not sure that it is good idea because it ...
9 years, 1 month ago (2011-11-09 19:00:31 UTC) #4
yzshen1
One more thing: please make your change backward compatible. Thanks! http://codereview.chromium.org/8506016/diff/1/ppapi/api/private/ppb_tcp_socket.idl File ppapi/api/private/ppb_tcp_socket.idl (right): http://codereview.chromium.org/8506016/diff/1/ppapi/api/private/ppb_tcp_socket.idl#newcode18 ...
9 years, 1 month ago (2011-11-09 23:53:55 UTC) #5
Dmitry Polukhin
I tried to make my change backward compatible. But unfortunately I'm not sure that I'm ...
9 years, 1 month ago (2011-11-10 15:10:10 UTC) #6
viettrungluu
At a glance, it looks okay, but please wait until I write some tests (which ...
9 years, 1 month ago (2011-11-11 01:13:51 UTC) #7
viettrungluu
Also, Yuzhu, could you please patch this in and test Flash on it? (Dmitry: sorry, ...
9 years, 1 month ago (2011-11-11 01:15:10 UTC) #8
yzshen1
On 2011/11/11 01:15:10, viettrungluu wrote: > Also, Yuzhu, could you please patch this in and ...
9 years, 1 month ago (2011-11-11 19:05:19 UTC) #9
yzshen1
Patched and ran with Flash, it worked. Thanks! http://codereview.chromium.org/8506016/diff/17001/ppapi/cpp/private/tcp_socket_private.h File ppapi/cpp/private/tcp_socket_private.h (right): http://codereview.chromium.org/8506016/diff/17001/ppapi/cpp/private/tcp_socket_private.h#newcode17 ppapi/cpp/private/tcp_socket_private.h:17: class ...
9 years, 1 month ago (2011-11-11 21:04:28 UTC) #10
viettrungluu
Yuzhu, thanks for patching it in and reviewing. Just to make sure, did you make ...
9 years, 1 month ago (2011-11-12 02:45:13 UTC) #11
yzshen1
On 2011/11/12 02:45:13, viettrungluu wrote: > Yuzhu, thanks for patching it in and reviewing. Just ...
9 years, 1 month ago (2011-11-14 06:16:45 UTC) #12
Dmitry Polukhin
Please take a look again. Yuzhu, thank you a lot for testing my patch! http://codereview.chromium.org/8506016/diff/17001/ppapi/cpp/private/tcp_socket_private.h ...
9 years, 1 month ago (2011-11-14 13:03:02 UTC) #13
yzshen1
Sorry, I think I haven't made it clear enough. In the previous review, I commented ...
9 years, 1 month ago (2011-11-14 19:33:03 UTC) #14
Dmitry Polukhin
On 2011/11/14 19:33:03, yzshen1 wrote: > Sorry, I think I haven't made it clear enough. ...
9 years, 1 month ago (2011-11-14 19:56:54 UTC) #15
yzshen1
On 2011/11/14 19:56:54, Dmitry Polukhin wrote: > On 2011/11/14 19:33:03, yzshen1 wrote: > > Sorry, ...
9 years, 1 month ago (2011-11-14 20:52:15 UTC) #16
yzshen1
http://codereview.chromium.org/8506016/diff/21043/ppapi/ppapi_cpp.gypi File ppapi/ppapi_cpp.gypi (right): http://codereview.chromium.org/8506016/diff/21043/ppapi/ppapi_cpp.gypi#newcode441 ppapi/ppapi_cpp.gypi:441: 'cpp/private/instance_private.h', [I haven't read the code the know what ...
9 years, 1 month ago (2011-11-14 20:52:24 UTC) #17
viettrungluu
FYI: http://codereview.chromium.org/8564034/ (which may land before your change). You should be able to use this ...
9 years, 1 month ago (2011-11-15 01:47:01 UTC) #18
Dmitry Polukhin
I tested my changes on OutOfProcessPPAPITest.TCPSocketPrivate (libppapi_tests.so built without my changes and Chrome built with ...
9 years, 1 month ago (2011-11-15 09:49:55 UTC) #19
yzshen1
lgtm http://codereview.chromium.org/8506016/diff/21043/ppapi/thunk/interfaces_ppb_private.h File ppapi/thunk/interfaces_ppb_private.h (right): http://codereview.chromium.org/8506016/diff/21043/ppapi/thunk/interfaces_ppb_private.h#newcode18 ppapi/thunk/interfaces_ppb_private.h:18: PROXIED_IFACE(PPB_TCPSocket_Private, PPB_TCPSOCKET_PRIVATE_INTERFACE, On 2011/11/15 09:49:56, Dmitry Polukhin wrote: ...
9 years, 1 month ago (2011-11-15 17:29:31 UTC) #20
viettrungluu
http://codereview.chromium.org/8506016/diff/21043/ppapi/thunk/interfaces_ppb_private.h File ppapi/thunk/interfaces_ppb_private.h (right): http://codereview.chromium.org/8506016/diff/21043/ppapi/thunk/interfaces_ppb_private.h#newcode18 ppapi/thunk/interfaces_ppb_private.h:18: PROXIED_IFACE(PPB_TCPSocket_Private, PPB_TCPSOCKET_PRIVATE_INTERFACE, On 2011/11/15 17:29:31, yzshen1 wrote: > On ...
9 years, 1 month ago (2011-11-15 18:30:10 UTC) #21
viettrungluu
LGTM otherwise, btw. http://codereview.chromium.org/8506016/diff/21056/ppapi/tests/test_tcp_socket_private.h File ppapi/tests/test_tcp_socket_private.h (right): http://codereview.chromium.org/8506016/diff/21056/ppapi/tests/test_tcp_socket_private.h#newcode16 ppapi/tests/test_tcp_socket_private.h:16: typedef pp::TCPSocketPrivate TCPSocketPrivate; Oops, you should ...
9 years, 1 month ago (2011-11-15 18:32:35 UTC) #22
Dmitry Polukhin
Yuzhu and Trung, thank you a lot for review! I'll resolve last comments and commit ...
9 years, 1 month ago (2011-11-15 18:35:52 UTC) #23
Dmitry Polukhin
Once again thank you for reviewing and help with testing! http://codereview.chromium.org/8506016/diff/21056/ppapi/tests/test_tcp_socket_private.h File ppapi/tests/test_tcp_socket_private.h (right): http://codereview.chromium.org/8506016/diff/21056/ppapi/tests/test_tcp_socket_private.h#newcode16 ...
9 years, 1 month ago (2011-11-16 06:55:11 UTC) #24
Dmitry Polukhin
9 years, 1 month ago (2011-11-16 07:05:44 UTC) #25
+ TBR: dmichael@ for OWNER review

But committing because it's basically simple renaming.

Powered by Google App Engine
This is Rietveld 408576698