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

Issue 16819002: PPAPI: Introduce PPB_NetworkProxy_Dev (Closed)

Created:
7 years, 6 months ago by dmichael (off chromium)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

PPAPI: Introduce PPB_NetworkProxy_Dev This adds support for PPB_NetworkProxy_Dev for out-of-process and NaCl (when using --enable-nacl). Work still to do in future CLs: - Add permissions checking - Translate appropriate error codes from net_errors.h BUG=247225 R=jam@chromium.org, palmer@chromium.org, yzshen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208259

Patch Set 1 : #

Total comments: 20

Patch Set 2 : Review comments #

Patch Set 3 : merge #

Patch Set 4 : Fix compile error and shutdown bug #

Total comments: 3

Patch Set 5 : review comments #

Patch Set 6 : merge #

Patch Set 7 : Remove semicolon from ppapi_messages.h, merge. #

Total comments: 6

Patch Set 8 : palmer's review comments #

Patch Set 9 : merge #

Patch Set 10 : merge #

Patch Set 11 : merge #

Patch Set 12 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+762 lines, -5 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_network_proxy_host.h View 1 2 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_network_proxy_host.cc View 1 2 3 4 5 6 7 1 chunk +163 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/api/dev/ppb_network_proxy_dev.idl View 1 chunk +27 lines, -0 lines 0 comments Download
A ppapi/c/dev/ppb_network_proxy_dev.h View 1 chunk +49 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/network_proxy_dev.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/network_proxy_dev.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +22 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/proxy/network_proxy_resource.h View 1 chunk +45 lines, -0 lines 0 comments Download
A ppapi/proxy/network_proxy_resource.cc View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M ppapi/shared_impl/singleton_resource_id.h View 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/tests/test_network_proxy.h View 1 chunk +23 lines, -0 lines 0 comments Download
A ppapi/tests/test_network_proxy.cc View 1 1 chunk +77 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_network_proxy_api.h View 1 chunk +38 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_network_proxy_dev_thunk.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M webkit/common/plugins/ppapi/ppapi_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmichael (off chromium)
Yuzhu: This is almost done. If you get bored over the weekend, feel free to ...
7 years, 6 months ago (2013-06-15 03:51:26 UTC) #1
yzshen1
On 2013/06/15 03:51:26, dmichael wrote: > Yuzhu: This is almost done. If you get bored ...
7 years, 6 months ago (2013-06-15 15:33:26 UTC) #2
yzshen1
Thanks David! It mostly looks good, just a few nits. https://codereview.chromium.org/16819002/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc File content/browser/renderer_host/pepper/pepper_network_proxy_host.cc (right): https://codereview.chromium.org/16819002/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode31 ...
7 years, 6 months ago (2013-06-16 23:49:53 UTC) #3
dmichael (off chromium)
Thanks for the review! I addressed your comments in PS#2, merged in PS#3, and fixed ...
7 years, 6 months ago (2013-06-17 21:48:27 UTC) #4
yzshen1
LGTM Thanks! https://codereview.chromium.org/16819002/diff/9001/ppapi/proxy/network_proxy_resource.h File ppapi/proxy/network_proxy_resource.h (right): https://codereview.chromium.org/16819002/diff/9001/ppapi/proxy/network_proxy_resource.h#newcode25 ppapi/proxy/network_proxy_resource.h:25: virtual thunk::PPB_NetworkProxy_API* AsPPB_NetworkProxy_API() OVERRIDE; Okay. I am ...
7 years, 6 months ago (2013-06-18 04:41:26 UTC) #5
dmichael (off chromium)
+jam for content/content_browser.gypi +jln for ppapi/proxy/ppapi_messages.h: Note that this does not increase the attack surface. ...
7 years, 6 months ago (2013-06-18 22:22:43 UTC) #6
jam
On 2013/06/18 22:22:43, dmichael wrote: > +jam for content/content_browser.gypi lgtm
7 years, 6 months ago (2013-06-18 23:34:42 UTC) #7
yzshen1
still LGTM https://codereview.chromium.org/16819002/diff/40001/ppapi/proxy/network_proxy_resource.cc File ppapi/proxy/network_proxy_resource.cc (right): https://codereview.chromium.org/16819002/diff/40001/ppapi/proxy/network_proxy_resource.cc#newcode52 ppapi/proxy/network_proxy_resource.cc:52: DCHECK(TrackedCallback::IsPending(callback)); > (This is also true of ...
7 years, 6 months ago (2013-06-19 16:50:59 UTC) #8
dmichael (off chromium)
+palmer for ppapi/proxy/ppapi_messages.h Note that this does not increase the attack surface. We already have ...
7 years, 6 months ago (2013-06-20 19:58:17 UTC) #9
palmer
https://codereview.chromium.org/16819002/diff/25004/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc File content/browser/renderer_host/pepper/pepper_network_proxy_host.cc (right): https://codereview.chromium.org/16819002/diff/25004/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode94 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:94: const std::string& url) { Is this a good time ...
7 years, 6 months ago (2013-06-20 20:55:59 UTC) #10
dmichael (off chromium)
palmer: Thanks for the review. Comments addressed, PTAL. https://codereview.chromium.org/16819002/diff/25004/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc File content/browser/renderer_host/pepper/pepper_network_proxy_host.cc (right): https://codereview.chromium.org/16819002/diff/25004/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode94 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:94: const ...
7 years, 6 months ago (2013-06-20 21:30:07 UTC) #11
dmichael (off chromium)
palmer (or jln): ping? PTAL when you can, or let me know if I should ...
7 years, 6 months ago (2013-06-21 19:50:03 UTC) #12
dmichael (off chromium)
Ping for security review? I was hoping to get this in before m29 branch point, ...
7 years, 6 months ago (2013-06-24 15:48:50 UTC) #13
palmer
IPC Security LGTM.
7 years, 6 months ago (2013-06-24 20:48:20 UTC) #14
dmichael (off chromium)
7 years, 6 months ago (2013-06-24 21:06:09 UTC) #15
Message was sent while issue was closed.
Committed patchset #12 manually as r208259 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698