|
Update pepper to not assume that SharedMemoryHandle is an int.
This CL is a refactor. This CL contains no intended behavior changes.
Pepper code assumes that SharedMemoryHandle is backed by a PlatformFile, and
that the relevant HANDLE or fd can be cast to an int. These assumptions will no
longer be true once SharedMemory is backed by Mach primitives on Mac.
This CL adds the method ShareSharedMemoryHandleWithRemote() to
ProxyChannel::Delegate. This method is used in place of ShareHandleWithRemote()
when a SharedMemory object is being shared between processes. This CL updates
the type of all SharedMemory handles to be SharedMemoryHandle.
BUG= 466437
Committed: https://crrev.com/4fc32d5dd347edbc0dfac470e7fa9b78b0923b72
Cr-Commit-Position: refs/heads/master@{#332325}
Total comments: 18
Total comments: 4
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+249 lines, -177 lines) |
Patch |
 |
M |
chrome/renderer/pepper/pepper_shared_memory_message_filter.cc
|
View
|
|
1 chunk |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/pepper_file_util.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/pepper_file_util.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/ppapi_plugin/ppapi_thread.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/ppapi_plugin/ppapi_thread.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/renderer_ppapi_host.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/npapi/webplugin_delegate_proxy.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/audio_helper.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/audio_helper.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/host_array_buffer_var.cc
|
View
|
1
|
2 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/mock_renderer_ppapi_host.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/mock_renderer_ppapi_host.cc
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_audio_input_host.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_compositor_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_media_stream_track_host_base.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_platform_audio_input.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_platform_audio_output.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_proxy_channel_delegate_impl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_video_capture_host.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_video_decoder_host.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_video_encoder_host.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_video_source_host.cc
|
View
|
|
2 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_audio_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_audio_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_buffer_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_buffer_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_image_data_impl.h
|
View
|
|
5 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/ppb_image_data_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/renderer_ppapi_host_impl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/renderer_ppapi_host_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/nacl_irt/ppapi_dispatcher.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/nacl_irt/ppapi_dispatcher.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_proxy_test.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_proxy_test.cc
|
View
|
1
2
3
4
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_audio_proxy.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_buffer_proxy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_buffer_proxy.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_graphics_3d_proxy.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_image_data_proxy.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_image_data_proxy.cc
|
View
|
|
5 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_content_decryptor_private_proxy.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/proxy_channel.h
|
View
|
1
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/proxy_channel.cc
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_audio_api.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_buffer_api.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_image_data_api.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
2 comments
|
Download
|
Total messages: 37 (14 generated)
|