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

Issue 17094022: PPAPI: Add permissions checking for PPB_NetworkProxy (Closed)

Created:
7 years, 6 months ago by dmichael (off chromium)
Modified:
7 years, 6 months ago
Reviewers:
teravest, yzshen1
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, yzshen1
Visibility:
Public.

Description

PPAPI: Add permissions checking for PPB_NetworkProxy. This CL is dependent on https://codereview.chromium.org/16819002/ BUG=247225 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208452

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Review comments #

Total comments: 7

Patch Set 3 : review comments #

Patch Set 4 : merge #

Patch Set 5 : merge, appease Clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -43 lines) Patch
M content/browser/renderer_host/pepper/pepper_network_proxy_host.h View 1 2 3 4 2 chunks +24 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_network_proxy_host.cc View 1 2 3 4 5 chunks +66 lines, -34 lines 0 comments Download
M ppapi/tests/test_network_proxy.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
dmichael (off chromium)
7 years, 6 months ago (2013-06-21 04:00:10 UTC) #1
yzshen1
https://codereview.chromium.org/17094022/diff/3001/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/17094022/diff/3001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode130 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:130: SendFailureReply(PP_ERROR_ADDRESS_INVALID, Strictly speaking, URL is not a network address. ...
7 years, 6 months ago (2013-06-21 06:59:40 UTC) #2
teravest
https://codereview.chromium.org/17094022/diff/3001/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/17094022/diff/3001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode78 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:78: result.context_getter = render_process_host->GetBrowserContext()-> What happens if context_getter isn't set? ...
7 years, 6 months ago (2013-06-21 14:46:29 UTC) #3
dmichael (off chromium)
Thanks for the fast review, guys! PTAL https://codereview.chromium.org/17094022/diff/3001/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/17094022/diff/3001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode78 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:78: result.context_getter = ...
7 years, 6 months ago (2013-06-21 16:19:40 UTC) #4
teravest
lgtm
7 years, 6 months ago (2013-06-21 16:22:29 UTC) #5
yzshen1
LGTM Thanks! https://codereview.chromium.org/17094022/diff/3001/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/17094022/diff/3001/content/browser/renderer_host/pepper/pepper_network_proxy_host.cc#newcode130 content/browser/renderer_host/pepper/pepper_network_proxy_host.cc:130: SendFailureReply(PP_ERROR_ADDRESS_INVALID, Yeah, if we update the document, ...
7 years, 6 months ago (2013-06-21 18:06:24 UTC) #6
dmichael (off chromium)
Thanks again for the reviews. Now I just need to wait on the prior CL. ...
7 years, 6 months ago (2013-06-21 20:25:45 UTC) #7
yzshen1
https://codereview.chromium.org/17094022/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.h File content/browser/renderer_host/pepper/pepper_network_proxy_host.h (right): https://codereview.chromium.org/17094022/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.h#newcode47 content/browser/renderer_host/pepper/pepper_network_proxy_host.h:47: UIThreadData(); Yeah, I know. I just vaguely remember that ...
7 years, 6 months ago (2013-06-21 20:31:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/17094022/21001
7 years, 6 months ago (2013-06-24 22:22:03 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-24 22:58:33 UTC) #10
dmichael (off chromium)
On 2013/06/21 20:31:35, yzshen1 wrote: > https://codereview.chromium.org/17094022/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.h > File content/browser/renderer_host/pepper/pepper_network_proxy_host.h (right): > > https://codereview.chromium.org/17094022/diff/9001/content/browser/renderer_host/pepper/pepper_network_proxy_host.h#newcode47 > ...
7 years, 6 months ago (2013-06-25 02:45:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/17094022/32002
7 years, 6 months ago (2013-06-25 02:45:50 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-25 08:40:34 UTC) #13
Message was sent while issue was closed.
Change committed as 208452

Powered by Google App Engine
This is Rietveld 408576698