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

Issue 974933002: content: Refactor ChildThreadImpl::Options (Closed)

Created:
5 years, 9 months ago by Sami
Modified:
5 years, 9 months ago
Reviewers:
no sievers, rmcilroy
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Refactor ChildThreadImpl::Options Refactor the way options are passed to ChildThreadImpl to make the call sites easier to read and to make it easier to add a task runner parameter later. BUG=444764 Committed: https://crrev.com/f28ccd0b2709832d05156bd107d29d48a4a440cc Cr-Commit-Position: refs/heads/master@{#319117}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Build fix. #

Total comments: 7

Patch Set 4 : Review comments. #

Total comments: 4

Patch Set 5 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -28 lines) Patch
M content/child/child_thread_impl.h View 1 2 3 4 2 chunks +32 lines, -11 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 2 chunks +31 lines, -9 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 1 chunk +14 lines, -3 lines 0 comments Download
M content/utility/utility_thread_impl.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
Sami
Ross, wanna do the first pass on this?
5 years, 9 months ago (2015-03-03 15:50:37 UTC) #2
rmcilroy
lgtm with a couple of minor nits. https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h#newcode65 content/child/child_thread_impl.h:65: Options(); Could ...
5 years, 9 months ago (2015-03-03 19:48:17 UTC) #3
Sami
Thanks Ross. Daniel, PTAL. https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h#newcode65 content/child/child_thread_impl.h:65: Options(); On 2015/03/03 19:48:17, rmcilroy ...
5 years, 9 months ago (2015-03-04 11:37:15 UTC) #5
rmcilroy
https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/974933002/diff/40001/content/child/child_thread_impl.h#newcode319 content/child/child_thread_impl.h:319: struct Options options_; On 2015/03/04 11:37:15, Sami wrote: > ...
5 years, 9 months ago (2015-03-04 12:22:01 UTC) #6
no sievers
LGTM but we should figure out correct usage of |in_browser_process| for the render thread, see ...
5 years, 9 months ago (2015-03-04 19:10:49 UTC) #7
Sami
Thanks Daniel. https://codereview.chromium.org/974933002/diff/60001/content/child/child_thread_impl.h File content/child/child_thread_impl.h (right): https://codereview.chromium.org/974933002/diff/60001/content/child/child_thread_impl.h#newcode324 content/child/child_thread_impl.h:324: struct Options options_; On 2015/03/04 19:10:49, sievers ...
5 years, 9 months ago (2015-03-04 19:21:16 UTC) #8
no sievers
On 2015/03/04 19:21:16, Sami wrote: > Thanks Daniel. > > https://codereview.chromium.org/974933002/diff/60001/content/child/child_thread_impl.h > File content/child/child_thread_impl.h (right): ...
5 years, 9 months ago (2015-03-04 19:26:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974933002/80001
5 years, 9 months ago (2015-03-04 19:29:23 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-04 20:21:00 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 20:21:31 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f28ccd0b2709832d05156bd107d29d48a4a440cc
Cr-Commit-Position: refs/heads/master@{#319117}

Powered by Google App Engine
This is Rietveld 408576698