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

Issue 2723013004: gpu: Replace more chrome ipc with mojom API. (Closed)

Created:
3 years, 9 months ago by sadrul
Modified:
3 years, 9 months ago
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, piman+watch_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Replace more chrome ipc with mojom API. List of chrome ipc messages replaced in this CL: . GpuMsg_Clean . GpuMsg_Crash . GpuMsg_Hang . GpuMsg_JavaCrash GpuProcessHostUIShim no longer needs to be an IPC::Sender anymore. So remove the associated code too. GpuProcessHostUIShim::GetOneInstance is also no longer used anymore, so this is also removed. BUG=643746 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2723013004 Cr-Commit-Position: refs/heads/master@{#454647} Committed: https://chromium.googlesource.com/chromium/src/+/b428f6b1ca12af16bc8d30470ecac787f425f9f7

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : . #

Patch Set 4 : tot merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -134 lines) Patch
M content/browser/frame_host/debug_urls.cc View 1 2 2 chunks +17 lines, -13 lines 0 comments Download
M content/browser/gpu/gpu_ipc_browsertests.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 2 2 chunks +0 lines, -15 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 chunks +0 lines, -44 lines 0 comments Download
M content/common/gpu_host_messages.h View 1 chunk +0 lines, -14 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 3 chunks +0 lines, -34 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/gpu/gpu_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/gpu/gpu_service.cc View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download
M services/ui/gpu/interfaces/gpu_service.mojom View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (29 generated)
sadrul
tsepez@ for ipc changes (mojom, messages) jbauman@ for all of it. Thanks!
3 years, 9 months ago (2017-03-01 20:05:55 UTC) #4
Fady Samuel
https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom File services/ui/gpu/interfaces/gpu_service.mojom (right): https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode54 services/ui/gpu/interfaces/gpu_service.mojom:54: Crash(); nit: comment on what this does? https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode55 services/ui/gpu/interfaces/gpu_service.mojom:55: ...
3 years, 9 months ago (2017-03-01 20:10:58 UTC) #7
Fady Samuel
https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom File services/ui/gpu/interfaces/gpu_service.mojom (right): https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode54 services/ui/gpu/interfaces/gpu_service.mojom:54: Crash(); nit: comment on what this does? https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode55 services/ui/gpu/interfaces/gpu_service.mojom:55: ...
3 years, 9 months ago (2017-03-01 20:10:58 UTC) #8
sadrul
https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom File services/ui/gpu/interfaces/gpu_service.mojom (right): https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode56 services/ui/gpu/interfaces/gpu_service.mojom:56: ThrowJavaException(); On 2017/03/01 20:10:58, Fady Samuel wrote: > nit: ...
3 years, 9 months ago (2017-03-01 20:11:56 UTC) #9
Fady Samuel
https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom File services/ui/gpu/interfaces/gpu_service.mojom (right): https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode56 services/ui/gpu/interfaces/gpu_service.mojom:56: ThrowJavaException(); On 2017/03/01 20:11:56, sadrul wrote: > On 2017/03/01 ...
3 years, 9 months ago (2017-03-01 20:14:42 UTC) #10
Fady Samuel
3 years, 9 months ago (2017-03-01 20:14:44 UTC) #11
Fady Samuel
3 years, 9 months ago (2017-03-01 20:14:46 UTC) #12
sadrul
https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom File services/ui/gpu/interfaces/gpu_service.mojom (right): https://codereview.chromium.org/2723013004/diff/1/services/ui/gpu/interfaces/gpu_service.mojom#newcode56 services/ui/gpu/interfaces/gpu_service.mojom:56: ThrowJavaException(); On 2017/03/01 20:14:42, Fady Samuel wrote: > On ...
3 years, 9 months ago (2017-03-01 20:18:31 UTC) #13
Tom Sepez
messages LGTM but tidy comments to your liking. Thanks.
3 years, 9 months ago (2017-03-01 20:47:30 UTC) #16
jbauman
This seems to be failing some tests... https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc File content/browser/gpu/gpu_process_host_ui_shim.cc (right): https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc#newcode141 content/browser/gpu/gpu_process_host_ui_shim.cc:141: GpuProcessHost::CallOnIO(GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED, We ...
3 years, 9 months ago (2017-03-01 22:04:26 UTC) #21
jbauman
https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc File content/browser/gpu/gpu_process_host_ui_shim.cc (right): https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc#newcode141 content/browser/gpu/gpu_process_host_ui_shim.cc:141: GpuProcessHost::CallOnIO(GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED, On 2017/03/01 22:04:26, jbauman wrote: > We should ...
3 years, 9 months ago (2017-03-01 22:43:04 UTC) #22
sadrul
https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc File content/browser/gpu/gpu_process_host_ui_shim.cc (right): https://codereview.chromium.org/2723013004/diff/20001/content/browser/gpu/gpu_process_host_ui_shim.cc#newcode141 content/browser/gpu/gpu_process_host_ui_shim.cc:141: GpuProcessHost::CallOnIO(GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED, On 2017/03/01 22:43:04, jbauman wrote: > On 2017/03/01 ...
3 years, 9 months ago (2017-03-02 03:36:54 UTC) #32
sadrul
+boliu@ for content/browser/frame_host
3 years, 9 months ago (2017-03-03 03:56:43 UTC) #36
jbauman
lgtm
3 years, 9 months ago (2017-03-03 06:21:22 UTC) #37
boliu
lgtm
3 years, 9 months ago (2017-03-03 17:29:01 UTC) #38
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/2723013004/80001
3 years, 9 months ago (2017-03-03 18:51:29 UTC) #43
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 19:29:12 UTC) #46
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b428f6b1ca12af16bc8d30470eca...

Powered by Google App Engine
This is Rietveld 408576698