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

Issue 17615004: Add "PRIVATE" to the enum names of some private Pepper networking APIs: (Closed)

Created:
7 years, 6 months ago by yzshen1
Modified:
7 years, 6 months ago
Reviewers:
Tom Sepez, bbudge, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, yusukes+watch_chromium.org, hclam+watch_chromium.org, sergeyu+watch_chromium.org, amit, sanjeevr, jam, garykac+watch_chromium.org, yzshen+watch_chromium.org, joi+watch-content_chromium.org, wez+watch_chromium.org, lambroslambrou+watch_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, weitaosu+watch_chromium.org, piman+watch_chromium.org, alexeypa+watch_chromium.org, rmsousa+watch_chromium.org, ihf+watch_chromium.org, dmichael (off chromium)
Visibility:
Public.

Description

Add "PRIVATE" to the enum names of some private Pepper networking APIs: - ppb_net_address_private.idl - ppb_host_resolver_private.idl - ppb_tcp_socket_private.idl - ppb_udp_socket_private.idl Currently, we have very similar enum names in the private and public Pepper networking APIs (for example, PP_NETADDRESSFAMILY_IPV4 and PP_NETADDRESS_FAMILY_IPV4). The purpose of this CL is to make the distinction more clear. This CL doesn't break existing plugins compiled with old private networking enums (without "PRIVATE" in the names). They will still run on newer versions of Chrome. The only consequence is that they will get compile errors when they compile with new SDK (with new enum names). But the errors should be very straightforward to fix. BUG=253583 TEST=None R=bbudge@chromium.org, tsepez@chromium.org, wez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208291

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -68 lines) Patch
M content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/api/private/ppb_host_resolver_private.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/api/private/ppb_net_address_private.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/api/private/ppb_tcp_socket_private.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/api/private/ppb_udp_socket_private.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/c/private/ppb_host_resolver_private.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/c/private/ppb_net_address_private.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/c/private/ppb_tcp_socket_private.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/c/private/ppb_udp_socket_private.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/cpp/private/net_address_private.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/host_resolver_resource.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/udp_socket_private_resource.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/shared_impl/private/net_address_private_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/shared_impl/private/tcp_socket_private_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_host_resolver_private.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ppapi/tests/test_host_resolver_private_disallowed.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_net_address_private.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ppapi/tests/test_network_monitor_private.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M ppapi/tests/test_udp_socket_private.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M ppapi/tests/test_utils.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M remoting/client/plugin/pepper_network_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/client/plugin/pepper_port_allocator.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/plugin/pepper_util.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
yzshen1
Hi, Bill and Tom. Would you please take a look? Thanks! Bill: everything One thing ...
7 years, 6 months ago (2013-06-24 18:38:17 UTC) #1
Wez
remoting/ LGTM
7 years, 6 months ago (2013-06-24 18:40:25 UTC) #2
yzshen1
On Jun 24, 2013 11:38 AM, <yzshen@chromium.org> wrote: > > Reviewers: bbudge1, Tom Sepez, > ...
7 years, 6 months ago (2013-06-24 18:42:08 UTC) #3
bbudge
https://codereview.chromium.org/17615004/diff/1/ppapi/api/private/ppb_host_resolver_private.idl File ppapi/api/private/ppb_host_resolver_private.idl (right): https://codereview.chromium.org/17615004/diff/1/ppapi/api/private/ppb_host_resolver_private.idl#newcode24 ppapi/api/private/ppb_host_resolver_private.idl:24: PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME = 1 << 0, Why not change FLAGS ...
7 years, 6 months ago (2013-06-24 18:48:30 UTC) #4
Tom Sepez
lgtm
7 years, 6 months ago (2013-06-24 19:25:37 UTC) #5
yzshen1
Thanks, Bill and James! https://codereview.chromium.org/17615004/diff/1/ppapi/api/private/ppb_host_resolver_private.idl File ppapi/api/private/ppb_host_resolver_private.idl (right): https://codereview.chromium.org/17615004/diff/1/ppapi/api/private/ppb_host_resolver_private.idl#newcode24 ppapi/api/private/ppb_host_resolver_private.idl:24: PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME = 1 << 0, ...
7 years, 6 months ago (2013-06-24 19:35:00 UTC) #6
yzshen1
On 2013/06/24 19:25:37, Tom Sepez wrote: > lgtm Thanks Tom!
7 years, 6 months ago (2013-06-24 19:35:18 UTC) #7
bbudge
LGTM
7 years, 6 months ago (2013-06-24 19:37:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/17615004/1
7 years, 6 months ago (2013-06-24 19:47:02 UTC) #9
yzshen1
7 years, 6 months ago (2013-06-24 23:18:13 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r208291 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698