Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 10823187: NaCl proxy for PPB_NetworkMonitor_Private (Closed)

Created:
8 years, 4 months ago by Sergey Ulanov
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1374 lines, -7 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc View 1 chunk +14 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc View 1 2 3 1 chunk +177 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_monitor_private_rpc_server.cc View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/build.scons View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/nacl.scons View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc View 2 chunks +6 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_network_list_private.h View 1 chunk +24 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_network_list_private.cc View 1 2 1 chunk +208 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_network_monitor_private.h View 1 chunk +49 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_network_monitor_private.cc View 1 2 1 chunk +128 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_socket_private.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_resource.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy_untrusted.gyp View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/ppb_network_list_private.srpc View 1 chunk +68 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/ppb_network_monitor_private.srpc View 1 chunk +25 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc View 1 chunk +184 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc View 2 chunks +157 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/ppp_network_monitor_private.srpc View 1 chunk +20 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_client.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppp_rpc_server.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/run_srpcgen.py View 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h View 1 chunk +75 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppp_rpc.h View 1 chunk +13 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h View 1 chunk +65 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h View 1 chunk +14 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_network_monitor_private.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Sergey Ulanov
As we discussed this code leaks (see browser_ppb_network_monitor_private_rpc_server.cc), but it doesn't make sense to fix ...
8 years, 4 months ago (2012-08-06 19:08:03 UTC) #1
dmichael (off chromium)
Early comments. Still looking. http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc (right): http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc#newcode35 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc:35: rpc->result = NACL_SRPC_RESULT_OK; We usually ...
8 years, 4 months ago (2012-08-06 22:44:25 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc (right): http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc#newcode35 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc:35: rpc->result = NACL_SRPC_RESULT_OK; On 2012/08/06 22:44:25, dmichael wrote: > ...
8 years, 4 months ago (2012-08-07 21:17:41 UTC) #3
Sergey Ulanov
ping
8 years, 4 months ago (2012-08-09 00:33:19 UTC) #4
dmichael (off chromium)
lgtm http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc (right): http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc#newcode72 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_list_private_rpc_server.cc:72: rpc->result = NACL_SRPC_RESULT_APP_ERROR; On 2012/08/07 21:17:41, sergeyu wrote: ...
8 years, 4 months ago (2012-08-09 03:57:27 UTC) #5
Sergey Ulanov
http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_monitor_private_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_monitor_private_rpc_server.cc (right): http://codereview.chromium.org/10823187/diff/30/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_monitor_private_rpc_server.cc#newcode61 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_network_monitor_private_rpc_server.cc:61: // long term. On 2012/08/09 03:57:27, dmichael wrote: > ...
8 years, 4 months ago (2012-08-09 20:14:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10823187/11001
8 years, 4 months ago (2012-08-09 20:15:49 UTC) #7
commit-bot: I haz the power
Presubmit check for 10823187-11001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-09 20:15:59 UTC) #8
dmichael (off chromium)
Oops, you'll probably just have to git cl dcommit (assuming your trys look green). On ...
8 years, 4 months ago (2012-08-09 20:59:20 UTC) #9
Sergey Ulanov
8 years, 4 months ago (2012-08-10 00:02:12 UTC) #10
There was also a problem with NaCl not being able to detect new files being
added. I fixed it (
http://src.chromium.org/viewvc/native_client?view=rev&revision=9414 ), but the
fix hasn't been rolled to chromium yet. To workaround it I added two noop
changes: one in test_network_monitor_private.cc and one in
plugin_ppb_tcp_socket_private.cc.


On 2012/08/09 20:59:20, dmichael wrote:
> Oops, you'll probably just have to git cl dcommit (assuming your trys look
> green).
> 
> On Thu, Aug 9, 2012 at 2:15 PM, <mailto:[email protected]> wrote:
> 
> > Presubmit check for 10823187-11001 failed and returned exit status 1.
> >
> >
> > Running presubmit commit checks ...
> >
> > ** Presubmit Warnings **
> > Found lines longer than 80 characters (first 5 shown).
> >   ppapi/native_client/src/**shared/ppapi_proxy/ppb_rpc_**client.cc, line
> > 2185, 81
> > chars \
> >   ppapi/native_client/src/**shared/ppapi_proxy/ppb_rpc_**client.cc, line
> > 2276, 82
> > chars \
> >   ppapi/native_client/src/**shared/ppapi_proxy/ppb_rpc_**client.cc, line
> > 2297, 82
> > chars \
> >   ppapi/native_client/src/**shared/ppapi_proxy/ppb_rpc_**client.cc, line
> > 2352, 90
> > chars \
> >   ppapi/native_client/src/**shared/ppapi_proxy/ppb_rpc_**server.cc, line
> > 3343, 99
> > chars
> >
> > Presubmit checks took 2.4s to calculate.
> >
> >
> >
> >
>
https://chromiumcodereview.**appspot.com/10823187/%3Chttps://chromiumcoderevi...>
> >

Powered by Google App Engine
This is Rietveld 408576698