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

Issue 2690533002: Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)

Created:
3 years, 10 months ago by tzik
Modified:
3 years, 10 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_checker.h by hiding its members into a nested class, and adds #include and forward decls to other files as needed. Note that the non trivial diffs are in sequence_checker_impl.{h,cc} only. The header dependency from sequence_checker.h to sequenced_worker_pool.h prevents other headers to use sequence_checker.h due to a dependency cycle. TBR=sky@chromium.org, kinuko@chromium.org, rdsmith@chromium.org, qinmin@chromium.org, marq@chromium.org, rockot@chromium.org, blundell@chromium.org, oshima@chromium.org, slan@chromium.org, boliu@chromium.org Review-Url: https://codereview.chromium.org/2690533002 Cr-Original-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d601298bd114a9d237 Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82e0c850166b1a CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450903} Committed: https://chromium.googlesource.com/chromium/src/+/0c2fcf56d2df0bb7b31ccb1509662255b5852451

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 8

Patch Set 3 : rebase. -mutable. #

Patch Set 4 : ctor body -> initializer list #

Patch Set 5 : inline EnsureSequenceTokenAssigned #

Patch Set 6 : resolve conflict #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -51 lines) Patch
M base/sequence_checker_impl.h View 1 2 3 4 2 chunks +4 lines, -16 lines 0 comments Download
M base/sequence_checker_impl.cc View 1 2 3 4 1 chunk +46 lines, -35 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 167 (145 generated)
tzik
PTAL
3 years, 10 months ago (2017-02-13 12:11:36 UTC) #98
gab
This is great! Also have had my share of trouble with that cyclic dependency in ...
3 years, 10 months ago (2017-02-13 15:26:39 UTC) #100
tzik
https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_impl.cc File base/sequence_checker_impl.cc (right): https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_impl.cc#newcode41 base/sequence_checker_impl.cc:41: // sequence token. On 2017/02/13 15:26:39, gab wrote: > ...
3 years, 10 months ago (2017-02-14 09:14:37 UTC) #109
tzik
Adding OWNERS for non-//base file review to TBR. The diffs are mechanical forward decl addition ...
3 years, 10 months ago (2017-02-14 09:34:55 UTC) #113
marq (ping after 24h)
ios/ LGTM Please correct the typos ("sequence_cherker" for "sequence_checker", several times) in the CL description.
3 years, 10 months ago (2017-02-14 10:09:37 UTC) #114
tzik
On 2017/02/14 10:09:37, marq wrote: > ios/ LGTM > > Please correct the typos ("sequence_cherker" ...
3 years, 10 months ago (2017-02-14 10:33:37 UTC) #116
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/2690533002/450001
3 years, 10 months ago (2017-02-14 11:09:51 UTC) #121
commit-bot: I haz the power
Committed patchset #5 (id:450001) as https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d601298bd114a9d237
3 years, 10 months ago (2017-02-14 11:18:46 UTC) #124
tzik
A revert of this CL (patchset #5 id:450001) has been created in https://codereview.chromium.org/2691263002/ by tzik@chromium.org. ...
3 years, 10 months ago (2017-02-14 11:35:40 UTC) #125
sdefresne
A revert of this CL (patchset #5 id:450001) has been created in https://codereview.chromium.org/2696583003/ by sdefresne@chromium.org. ...
3 years, 10 months ago (2017-02-14 11:36:04 UTC) #126
msramek
Another compilation error appeared on Mac: https://uberchromegw.corp.google.com/i/chromium.chrome/builders/Google%20Chrome%20Mac/builds/18487/steps/compile/logs/stdio ====================================================================== ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:315:35: error: member access into incomplete type ...
3 years, 10 months ago (2017-02-14 12:07:48 UTC) #128
tzik
On 2017/02/14 12:07:48, msramek wrote: > Another compilation error appeared on Mac: > https://uberchromegw.corp.google.com/i/chromium.chrome/builders/Google%20Chrome%20Mac/builds/18487/steps/compile/logs/stdio > ...
3 years, 10 months ago (2017-02-14 13:44:04 UTC) #130
Randy Smith (Not in Mondays)
/net LGTM.
3 years, 10 months ago (2017-02-14 16:44:33 UTC) #140
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/2690533002/470001
3 years, 10 months ago (2017-02-14 16:52:33 UTC) #143
commit-bot: I haz the power
Committed patchset #6 (id:470001) as https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82e0c850166b1a
3 years, 10 months ago (2017-02-14 17:03:28 UTC) #146
Garrett Casto
A revert of this CL (patchset #6 id:470001) has been created in https://codereview.chromium.org/2694813005/ by gcasto@chromium.org. ...
3 years, 10 months ago (2017-02-14 18:01:17 UTC) #147
tzik
On 2017/02/14 18:01:17, Garrett Casto wrote: > A revert of this CL (patchset #6 id:470001) ...
3 years, 10 months ago (2017-02-14 18:02:42 UTC) #148
Garrett Casto
On 2017/02/14 18:02:42, tzik wrote: > On 2017/02/14 18:01:17, Garrett Casto wrote: > > A ...
3 years, 10 months ago (2017-02-14 18:14:46 UTC) #150
tzik
On 2017/02/14 18:14:46, Garrett Casto wrote: > On 2017/02/14 18:02:42, tzik wrote: > > On ...
3 years, 10 months ago (2017-02-14 18:30:14 UTC) #151
gab
On 2017/02/14 18:30:14, tzik wrote: > On 2017/02/14 18:14:46, Garrett Casto wrote: > > On ...
3 years, 10 months ago (2017-02-14 18:47:53 UTC) #152
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/2690533002/550001
3 years, 10 months ago (2017-02-16 08:40:13 UTC) #164
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 08:53:15 UTC) #167
Message was sent while issue was closed.
Committed patchset #10 (id:550001) as
https://chromium.googlesource.com/chromium/src/+/0c2fcf56d2df0bb7b31ccb150966...

Powered by Google App Engine
This is Rietveld 408576698