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

Issue 5974006: Convert srpc definitions from using int64 to using PP_Instance, PP_Module, an... (Closed)

Created:
10 years ago by noelallen_use_chromium
Modified:
9 years, 7 months ago
Reviewers:
nfullagar, polina, neb
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Convert srpc definitions from using int64 to using PP_Instance, PP_Module, and PP_Resource TEST= fake_browser BUG= none Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=4041

Patch Set 1 #

Total comments: 31

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -360 lines) Patch
M SConstruct View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/shared/ppapi_proxy/browser_audio.cc View 1 2 3 4 6 chunks +10 lines, -11 lines 0 comments Download
M src/shared/ppapi_proxy/browser_audio_config.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M src/shared/ppapi_proxy/browser_core.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/shared/ppapi_proxy/browser_graphics_2d.cc View 1 2 8 chunks +17 lines, -23 lines 0 comments Download
M src/shared/ppapi_proxy/browser_image_data.cc View 1 2 3 chunks +12 lines, -16 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_instance_rpc_server.cc View 1 2 3 4 10 chunks +12 lines, -17 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_rpc_server.cc View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_url_request_info_rpc_server.cc View 1 2 3 4 9 chunks +14 lines, -17 lines 0 comments Download
M src/shared/ppapi_proxy/browser_ppb_url_response_info_rpc_server.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_audio.cc View 1 2 5 chunks +6 lines, -11 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_graphics_2d.cc View 1 2 5 chunks +8 lines, -10 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_image_data.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_ppp_instance_rpc_server.cc View 1 2 7 chunks +8 lines, -8 lines 0 comments Download
M src/shared/ppapi_proxy/plugin_ppp_rpc_server.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/shared/ppapi_proxy/ppb.srpc View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_audio_config_dev.srpc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_audio_dev.srpc View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_core.srpc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_graphics_2d.srpc View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_image_data.srpc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_instance.srpc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_rpc_client.cc View 1 2 35 chunks +49 lines, -46 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_rpc_server.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_url_request_info.srpc View 1 2 3 4 2 chunks +9 lines, -9 lines 0 comments Download
M src/shared/ppapi_proxy/ppb_url_response_info.srpc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/shared/ppapi_proxy/ppp.srpc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/shared/ppapi_proxy/ppp_audio_dev.srpc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/shared/ppapi_proxy/ppp_instance.srpc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M src/shared/ppapi_proxy/ppp_rpc_client.cc View 1 2 10 chunks +13 lines, -10 lines 0 comments Download
M src/shared/ppapi_proxy/ppp_rpc_server.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h View 1 2 10 chunks +49 lines, -46 lines 0 comments Download
M src/shared/ppapi_proxy/trusted/srpcgen/ppp_rpc.h View 1 2 4 chunks +13 lines, -10 lines 0 comments Download
M src/shared/ppapi_proxy/trusted/srpcgen/upcall.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h View 1 2 10 chunks +49 lines, -46 lines 0 comments Download
M src/shared/ppapi_proxy/untrusted/srpcgen/ppp_rpc.h View 1 2 5 chunks +13 lines, -10 lines 0 comments Download
M src/shared/ppapi_proxy/untrusted/srpcgen/upcall.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/upcall_client.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/shared/ppapi_proxy/upcall_server.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tests/ppapi_proxy/event_example.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/srpcgen.py View 1 2 3 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
noelallen_use_chromium
10 years ago (2010-12-23 19:12:34 UTC) #1
nfullagar
couple line formats but otherwise LGTM, and thanks for cleaning this up! http://codereview.chromium.org/5974006/diff/1/src/shared/ppapi_proxy/browser_graphics_2d.cc File src/shared/ppapi_proxy/browser_graphics_2d.cc ...
10 years ago (2010-12-23 21:37:00 UTC) #2
polina
Would it be a lot of trouble to do the same for PP_Bool (vs int32_t)? ...
10 years ago (2010-12-23 21:58:30 UTC) #3
noelallen_use_chromium
I'll take a quick look at bool and see if that makes sense for this ...
10 years ago (2010-12-23 22:23:23 UTC) #4
polina
http://codereview.chromium.org/5974006/diff/1/src/shared/ppapi_proxy/plugin_image_data.cc File src/shared/ppapi_proxy/plugin_image_data.cc (right): http://codereview.chromium.org/5974006/diff/1/src/shared/ppapi_proxy/plugin_image_data.cc#newcode66 src/shared/ppapi_proxy/plugin_image_data.cc:66: if (retval == NACL_SRPC_RESULT_OK) { On 2010/12/23 22:23:23, noelallen ...
10 years ago (2010-12-23 22:33:13 UTC) #5
neb
Would you mind PP_Bool to the bunch? It would make .srpc files more readable. Otherwise, ...
10 years ago (2010-12-23 23:11:39 UTC) #6
polina
Marked all PP_Bools in ppb_* files. (Suggested alternative name consistent across in a couple of ...
10 years ago (2010-12-23 23:41:23 UTC) #7
noelallen_use_chromium
I tried the PP_Bool changes, unfortunately since PP_Bool is an enum and NOT an int, ...
9 years, 12 months ago (2010-12-28 22:19:36 UTC) #8
polina
Thanks for trying, Noel. Even without PP_Bool this is an improvement. Could you please add ...
9 years, 12 months ago (2010-12-28 23:57:19 UTC) #9
noelallen_use_chromium
9 years, 12 months ago (2010-12-29 00:23:45 UTC) #10
polina
Aren't you missing browser_ppb_url* files? On 2010/12/29 00:23:45, noelallen wrote:
9 years, 12 months ago (2010-12-29 00:29:44 UTC) #11
noelallen_use_chromium
9 years, 12 months ago (2010-12-29 00:46:16 UTC) #12
polina
9 years, 12 months ago (2010-12-29 00:47:49 UTC) #13
lgtm (if trybots are happy)

Powered by Google App Engine
This is Rietveld 408576698