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

Issue 2247183005: services/ui: Get rid of IPC::ChannelHandle type converter (Closed)

Created:
4 years, 4 months ago by Peng
Modified:
4 years, 4 months ago
Reviewers:
Fady Samuel, sky, dcheng
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

services/ui: Get rid of IPC::ChannelHandle type converter BUG=625557 Committed: https://crrev.com/a7280ca5addaf050ea058416990a3eb1a12aba5e Cr-Commit-Position: refs/heads/master@{#412832}

Patch Set 1 #

Patch Set 2 : Fix a build error #

Total comments: 4

Patch Set 3 : const IPC::ChannelHandle& -> IPC::ChannelHandle * #

Total comments: 1

Patch Set 4 : Fix review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -182 lines) Patch
M services/ui/common/gpu_type_converters.h View 2 chunks +0 lines, -21 lines 0 comments Download
M services/ui/common/gpu_type_converters.cc View 2 chunks +0 lines, -43 lines 0 comments Download
M services/ui/common/gpu_type_converters_unittest.cc View 1 chunk +0 lines, -69 lines 0 comments Download
M services/ui/gpu/gpu_service_impl.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M services/ui/gpu/gpu_service_mus.h View 1 2 3 3 chunks +9 lines, -12 lines 0 comments Download
M services/ui/gpu/gpu_service_mus.cc View 1 2 3 5 chunks +14 lines, -11 lines 0 comments Download
M services/ui/public/cpp/gpu_service.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/public/cpp/gpu_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M services/ui/public/interfaces/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D services/ui/public/interfaces/channel_handle.mojom View 1 chunk +0 lines, -16 lines 0 comments Download
M services/ui/public/interfaces/gpu_service.mojom View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
Peng
Hi Scott, PTAL. Thanks.
4 years, 4 months ago (2016-08-17 16:08:50 UTC) #4
sky
LGTM
4 years, 4 months ago (2016-08-17 18:56:21 UTC) #11
Peng
Hi Daniel, PTAL. Thanks.
4 years, 4 months ago (2016-08-17 19:02:46 UTC) #13
dcheng
https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc File services/ui/gpu/gpu_service_impl.cc (right): https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc#newcode21 services/ui/gpu/gpu_service_impl.cc:21: mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), Does ChannelHandle not have strong ownership of its ...
4 years, 4 months ago (2016-08-17 19:38:29 UTC) #14
Peng
https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc File services/ui/gpu/gpu_service_impl.cc (right): https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc#newcode21 services/ui/gpu/gpu_service_impl.cc:21: mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), On 2016/08/17 19:38:29, dcheng wrote: > Does ChannelHandle ...
4 years, 4 months ago (2016-08-17 19:59:17 UTC) #15
dcheng
On 2016/08/17 19:59:17, Peng wrote: > https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc > File services/ui/gpu/gpu_service_impl.cc (right): > > https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc#newcode21 > ...
4 years, 4 months ago (2016-08-17 21:52:36 UTC) #16
Ken Rockot(use gerrit already)
On 2016/08/17 at 21:52:36, dcheng wrote: > On 2016/08/17 19:59:17, Peng wrote: > > https://codereview.chromium.org/2247183005/diff/20001/services/ui/gpu/gpu_service_impl.cc ...
4 years, 4 months ago (2016-08-17 23:19:14 UTC) #17
dcheng
On 2016/08/17 23:19:14, Ken Rockot wrote: > On 2016/08/17 at 21:52:36, dcheng wrote: > > ...
4 years, 4 months ago (2016-08-17 23:21:59 UTC) #18
Fady Samuel
drive-by: This is super cool! IPC::ChannelHandles ~= MessagePipe now so we can trivially pass them ...
4 years, 4 months ago (2016-08-17 23:24:14 UTC) #20
dcheng
https://codereview.chromium.org/2247183005/diff/40001/services/ui/gpu/gpu_service_mus.cc File services/ui/gpu/gpu_service_mus.cc (right): https://codereview.chromium.org/2247183005/diff/40001/services/ui/gpu/gpu_service_mus.cc#newcode79 services/ui/gpu/gpu_service_mus.cc:79: callback.Run(-1, nullptr); I would probably just throw a IPC::ChannelHandle ...
4 years, 4 months ago (2016-08-18 00:06:01 UTC) #23
Peng
On 2016/08/18 00:06:01, dcheng wrote: > https://codereview.chromium.org/2247183005/diff/40001/services/ui/gpu/gpu_service_mus.cc > File services/ui/gpu/gpu_service_mus.cc (right): > > https://codereview.chromium.org/2247183005/diff/40001/services/ui/gpu/gpu_service_mus.cc#newcode79 > ...
4 years, 4 months ago (2016-08-18 00:29:20 UTC) #24
dcheng
LGTM, thanks. I like this a lot better.
4 years, 4 months ago (2016-08-18 00:34:54 UTC) #25
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/2247183005/60001
4 years, 4 months ago (2016-08-18 13:33:00 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-18 15:20:24 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 15:22:44 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a7280ca5addaf050ea058416990a3eb1a12aba5e
Cr-Commit-Position: refs/heads/master@{#412832}

Powered by Google App Engine
This is Rietveld 408576698