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

Issue 2675163002: Add gpu_main_thread_factory.h to expose less of content's guts. (Closed)

Created:
3 years, 10 months ago by tapted
Modified:
3 years, 10 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add gpu_main_thread_factory.h to expose less of content's guts. gpu_process_host.h exposes a lot of the content layer's guts, including mojo message files which complicate build depenencies. Add gpu_main_thread_factory.h to expose the bits that things outside of content/browser are using. Sepcifically, RegisterGpuMainThreadFactory(). After this, the only files that #include gpu_process_host.h are .cc files in content/browser or content/public/browser. That is, files built in a target that already has a dependency on the source of build flakes coming from //services/ui/gpu/interfaces/. BUG=688477 TBR=avi@chromium.org Review-Url: https://codereview.chromium.org/2675163002 Cr-Commit-Position: refs/heads/master@{#448472} Committed: https://chromium.googlesource.com/chromium/src/+/4091f2f04a14767d816857bd480088c3c62d25d8

Patch Set 1 #

Patch Set 2 : class -> struct #

Patch Set 3 : Getter does not need exporting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -21 lines) Patch
M content/app/content_main_runner.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_main_thread_factory.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_main_thread_factory.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 4 chunks +3 lines, -9 lines 0 comments Download
M content/public/test/content_test_suite_base.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
tapted
kbr: please take a look. (cc sadrul fyi or for comments :)
3 years, 10 months ago (2017-02-06 03:40:30 UTC) #10
tapted
ping? the waterfall just closed because of the issue this CL is trying to fix ...
3 years, 10 months ago (2017-02-06 23:46:36 UTC) #18
tapted
On 2017/02/06 23:46:36, tapted wrote: > ping? > > the waterfall just closed because of ...
3 years, 10 months ago (2017-02-06 23:52:25 UTC) #20
jbauman
lgtm, though I'm curious what fails if you actually add the correct dependency.
3 years, 10 months ago (2017-02-07 00:03:54 UTC) #21
tapted
On 2017/02/07 00:03:54, jbauman wrote: > lgtm, though I'm curious what fails if you actually ...
3 years, 10 months ago (2017-02-07 00:19:55 UTC) #22
tapted
avi -> to TBR (for content OWNERS - it's just refactoring fallout and build files. ...
3 years, 10 months ago (2017-02-07 00:25:15 UTC) #24
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/2675163002/40001
3 years, 10 months ago (2017-02-07 00:26:31 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/4091f2f04a14767d816857bd480088c3c62d25d8
3 years, 10 months ago (2017-02-07 00:47:56 UTC) #29
Avi (use Gerrit)
lgtm stamp
3 years, 10 months ago (2017-02-07 03:26:41 UTC) #30
Ken Russell (switch to Gerrit)
3 years, 10 months ago (2017-02-08 02:44:41 UTC) #31
Message was sent while issue was closed.
Sorry for the long delay getting to this. I defer to jbauman's review.

Powered by Google App Engine
This is Rietveld 408576698