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

Issue 2476883002: Remove obsolete methods from IPC::Channel and related classes. (Closed)

Created:
4 years, 1 month ago by Sam McNally
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, piman+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove obsolete methods from IPC::Channel and related classes. This removes GetSelfPID(), GetClientFileDescriptor() and TakeClientFileDescriptor(), along with corresponding methods on content::ChildProcessHost, content::SandboxedProcessLauncherDelegate, NaClIPCAdapter and ppapi::proxy::ProxyChannel. This also removes the unused IPC descriptors kPrimaryIPCChannel and kStatsTableSharedMemFd. BUG=659448 Committed: https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468 Cr-Commit-Position: refs/heads/master@{#431036}

Patch Set 1 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -278 lines) Patch
M components/nacl/browser/nacl_process_host.cc View 3 chunks +4 lines, -18 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M content/app/content_main_runner.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/child_process_launcher.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/child_process_launcher.cc View 12 chunks +6 lines, -31 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 4 chunks +6 lines, -13 lines 2 comments Download
M content/browser/ppapi_plugin_process_host.cc View 5 chunks +7 lines, -20 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 4 chunks +4 lines, -18 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 4 chunks +5 lines, -9 lines 0 comments Download
M content/common/child_process_host_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/child_process_host_impl.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M content/common/zygote_commands_linux.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/public/common/child_process_host.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/common/sandboxed_process_launcher_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/zygote/zygote_linux.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ipc/ipc_channel.h View 2 chunks +0 lines, -25 lines 2 comments Download
M ipc/ipc_channel_mojo.h View 1 chunk +1 line, -5 lines 0 comments Download
M ipc/ipc_channel_mojo.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 chunk +0 lines, -1 line 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M ipc/ipc_descriptors.h View 1 chunk +1 line, -4 lines 0 comments Download
M ipc/ipc_test_sink.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ipc/ipc_test_sink.cc View 2 chunks +0 lines, -19 lines 0 comments Download
M ppapi/proxy/proxy_channel.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/proxy/proxy_channel.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M tools/ipc_fuzzer/message_replay/replay_process.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/ozone/public/ozone_gpu_test_helper.cc View 1 chunk +0 lines, -17 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 63 (47 generated)
Sam McNally
+nasko for //content and security review of the SandboxedProcessLauncherDelegate-derived classes in *_process_host(_impl).cc +rockot for //ipc
4 years, 1 month ago (2016-11-08 07:19:00 UTC) #42
Ken Rockot(use gerrit already)
lgtm
4 years, 1 month ago (2016-11-08 18:36:37 UTC) #43
nasko
Switching reviewer with palmer@, as he has more knowledge of this area than myself.
4 years, 1 month ago (2016-11-08 21:42:36 UTC) #45
palmer
lgtm
4 years, 1 month ago (2016-11-08 23:12:15 UTC) #47
Sam McNally
+nasko for //content +tsepez for //tools/ipc_fuzzer +rjkroege for //ui/ozone +raymes for //ppapi/proxy +mseaborn for //components/nacl
4 years, 1 month ago (2016-11-09 00:18:10 UTC) #49
Tom Sepez
https://codereview.chromium.org/2476883002/diff/160001/ipc/ipc_channel.h File ipc/ipc_channel.h (left): https://codereview.chromium.org/2476883002/diff/160001/ipc/ipc_channel.h#oldcode266 ipc/ipc_channel.h:266: // Generates a channel ID that, if passed to ...
4 years, 1 month ago (2016-11-09 00:31:00 UTC) #50
Mark Seaborn
On 2016/11/09 00:18:10, Sam McNally wrote: > +mseaborn for //components/nacl LGTM for that.
4 years, 1 month ago (2016-11-09 00:39:00 UTC) #51
rjkroege
ozone: lgtm
4 years, 1 month ago (2016-11-09 01:21:44 UTC) #52
raymes
ppapi rs lgtm
4 years, 1 month ago (2016-11-09 01:33:28 UTC) #53
Sam McNally
https://codereview.chromium.org/2476883002/diff/160001/ipc/ipc_channel.h File ipc/ipc_channel.h (left): https://codereview.chromium.org/2476883002/diff/160001/ipc/ipc_channel.h#oldcode266 ipc/ipc_channel.h:266: // Generates a channel ID that, if passed to ...
4 years, 1 month ago (2016-11-09 05:06:30 UTC) #54
Tom Sepez
> In most cases, pipe names aren't used: for normal processes FDs/HANDLEs are > passed/inherited ...
4 years, 1 month ago (2016-11-09 17:49:07 UTC) #55
nasko
content/ rubberstamp LGTM based on palmer@'s and tsepez@'s reviews. Just one question about formatting. https://codereview.chromium.org/2476883002/diff/160001/content/browser/gpu/gpu_process_host.cc ...
4 years, 1 month ago (2016-11-09 18:38:10 UTC) #56
Sam McNally
https://codereview.chromium.org/2476883002/diff/160001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/2476883002/diff/160001/content/browser/gpu/gpu_process_host.cc#newcode210 content/browser/gpu/gpu_process_host.cc:210: } On 2016/11/09 18:38:10, nasko wrote: > Is this ...
4 years, 1 month ago (2016-11-09 20:21:39 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2476883002/160001
4 years, 1 month ago (2016-11-09 20:22:46 UTC) #59
commit-bot: I haz the power
Committed patchset #1 (id:160001)
4 years, 1 month ago (2016-11-09 21:24:46 UTC) #61
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 21:37:24 UTC) #63
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/19eb6f7cc2ca4b1064781d73f6f74a9d114a9468
Cr-Commit-Position: refs/heads/master@{#431036}

Powered by Google App Engine
This is Rietveld 408576698