|
|
Created:
3 years, 10 months ago by tzik Modified:
3 years, 10 months ago Reviewers:
msramek, Ken Rockot(use gerrit already), sky, slan, gab, oshima, Randy Smith (Not in Mondays), marq (ping after 24h), boliu, kinuko, qinmin, blundell CC:
chromium-reviews, vmpstr+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionRemove 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 #Messages
Total messages: 167 (145 generated)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:20001) has been deleted
Patchset #2 (id:40001) has been deleted
Patchset #2 (id:60001) has been deleted
Patchset #2 (id:60002) has been deleted
Patchset #2 (id:90001) has been deleted
Patchset #2 (id:110001) has been deleted
Patchset #2 (id:130001) has been deleted
Patchset #2 (id:150001) has been deleted
Patchset #2 (id:170001) has been deleted
Patchset #2 (id:190001) has been deleted
Patchset #2 (id:210001) has been deleted
Patchset #2 (id:230001) has been deleted
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
Patchset #2 (id:240001) has been deleted
Patchset #2 (id:260001) has been deleted
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
Description was changed from ========== Reduce header dependencies from base/sequence_checker.h ========== to ========== Reduce header dependencies from base/sequence_checker.h CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:300001) has been deleted
Description was changed from ========== Reduce header dependencies from base/sequence_checker.h CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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 sequence_cherker.{h,cc} only. The header dependency from sequence_cherker.h to sequenced_worker_pool.h prevents other headers to use sequence_checker.h due to a dependency cycle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
tzik@chromium.org changed reviewers: + gab@chromium.org
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:280001) has been deleted
Patchset #2 (id:320001) has been deleted
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:340001) has been deleted
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win10_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x6...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #2 (id:360001) has been deleted
Patchset #2 (id:380001) has been deleted
PTAL
Description was changed from ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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 sequence_cherker.{h,cc} only. The header dependency from sequence_cherker.h to sequenced_worker_pool.h prevents other headers to use sequence_checker.h due to a dependency cycle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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_cherker_impl.{h,cc} only. The header dependency from sequence_cherker.h to sequenced_worker_pool.h prevents other headers to use sequence_checker.h due to a dependency cycle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
This is great! Also have had my share of trouble with that cyclic dependency in the past (but was banking on upcoming obliteration of SequencedWorkerPool to address it -- thanks for finding a solution in the meantime and fixing the IWYU mess!) //base lgtm with comments (didn't double-check all includes fixing...) https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... File base/sequence_checker_impl.cc (right): https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:41: // sequence token. nit: wrap https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:46: mutable SequenceToken sequence_token_; No longer needs to be mutable since |core_| is what's modified from the const checkers now :) https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:50: mutable SequencedWorkerPool::SequenceToken sequenced_worker_pool_token_; ditto https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:74: void SequenceCheckerImpl::EnsureSequenceTokenAssigned() const { Since this is now simple and only called from two places: Move |core_|'s initialization into the constructor's initializer list (no longer requires to grab lock :)) And move if (!core) core_ = ... inline in CalledOnValidSequence()
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win10_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x6...)
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... File base/sequence_checker_impl.cc (right): https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:41: // sequence token. On 2017/02/13 15:26:39, gab wrote: > nit: wrap Done. https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:46: mutable SequenceToken sequence_token_; On 2017/02/13 15:26:39, gab wrote: > No longer needs to be mutable since |core_| is what's modified from the const > checkers now :) Done. https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:50: mutable SequencedWorkerPool::SequenceToken sequenced_worker_pool_token_; On 2017/02/13 15:26:39, gab wrote: > ditto Done. https://codereview.chromium.org/2690533002/diff/340002/base/sequence_checker_... base/sequence_checker_impl.cc:74: void SequenceCheckerImpl::EnsureSequenceTokenAssigned() const { On 2017/02/13 15:26:39, gab wrote: > Since this is now simple and only called from two places: > > Move |core_|'s initialization into the constructor's initializer list (no longer > requires to grab lock :)) > > And move if (!core) core_ = ... inline in CalledOnValidSequence() Done.
tzik@chromium.org changed reviewers: + sky@chromium.org
Description was changed from ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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_cherker_impl.{h,cc} only. The header dependency from sequence_cherker.h to sequenced_worker_pool.h prevents other headers to use sequence_checker.h due to a dependency cycle. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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_cherker_impl.{h,cc} only. The header dependency from sequence_cherker.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 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
Adding OWNERS for non-//base file review to TBR. The diffs are mechanical forward decl addition or #include addition. PTAL later to: sky: //ui, //services/service_manager, //chrome kinuko: //storage, //content rdsmith: //net qinmin: //media/base/android marq: //ios rockot: //extensions, //device blundell: //components, oshima: //chromeos, //ash slan: //chromecast boliu: //android_webview
ios/ LGTM Please correct the typos ("sequence_cherker" for "sequence_checker", several times) in the CL description.
Description was changed from ========== Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h This CL removes #include to sequenced_worker_pool.h in sequence_cherker.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_cherker_impl.{h,cc} only. The header dependency from sequence_cherker.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 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== 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 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
On 2017/02/14 10:09:37, marq wrote: > ios/ LGTM > > Please correct the typos ("sequence_cherker" for "sequence_checker", several > times) in the CL description. Thanks! Done.
Description was changed from ========== 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 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== 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 ==========
The CQ bit was unchecked by tzik@chromium.org
The CQ bit was checked by tzik@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from gab@chromium.org Link to the patchset: https://codereview.chromium.org/2690533002/#ps450001 (title: "inline EnsureSequenceTokenAssigned")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 450001, "attempt_start_ts": 1487070564921630, "parent_rev": "0a762e43411be0bd7426da0d749b7e49d4de47b3", "commit_rev": "d502a3f2fa0b673a5082c1d601298bd114a9d237"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:450001) as https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129...
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:450001) has been created in https://codereview.chromium.org/2691263002/ by tzik@chromium.org. The reason for reverting is: This caused a compile error on a mac bot: https://build.chromium.org/p/chromium.mac/buildstatus?builder=ios-device&numb....
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:450001) has been created in https://codereview.chromium.org/2696583003/ by sdefresne@chromium.org. The reason for reverting is: Broke compilation on all iOS bots: ../../components/favicon/ios/web_favicon_driver.mm:134:7: error: no matching constructor for initialization of 'image_fetcher::IOSImageDataFetcherWrapper' image_fetcher_(web_state->GetBrowserState()->GetRequestContext(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h:37:3: note: candidate constructor not viable: cannot convert argument of incomplete type 'base::SequencedWorkerPool *' to 'const scoped_refptr<base::TaskRunner>' for 2nd argument IOSImageDataFetcherWrapper( ^ ../../components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h:70:28: note: candidate constructor not viable: requires 1 argument, but 2 were provided DISALLOW_COPY_AND_ASSIGN(IOSImageDataFetcherWrapper); .
Message was sent while issue was closed.
msramek@chromium.org changed reviewers: + msramek@chromium.org
Message was sent while issue was closed.
Another compilation error appeared on Mac: https://uberchromegw.corp.google.com/i/chromium.chrome/builders/Google%20Chro... ====================================================================== ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:315:35: error: member access into incomplete type 'base::SequencedWorkerPool' BrowserThread::GetBlockingPool()->PostTask( ^ ../../base/threading/thread_restrictions.h:93:7: note: forward declaration of 'base::SequencedWorkerPool' class SequencedWorkerPool; ^ 1 error generated. ====================================================================== Just FYI, as this had been already reverted.
Message was sent while issue was closed.
Description was changed from ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ========== to ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ==========
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%20Chro... > > ====================================================================== > > ../../chrome/browser/component_updater/pepper_flash_component_installer.cc:315:35: > error: member access into incomplete type 'base::SequencedWorkerPool' > BrowserThread::GetBlockingPool()->PostTask( > ^ > ../../base/threading/thread_restrictions.h:93:7: note: forward declaration of > 'base::SequencedWorkerPool' > class SequencedWorkerPool; > ^ > 1 error generated. > > ====================================================================== > > Just FYI, as this had been already reverted. Ah... Thanks for noticing me. There seem at least 3 author who are writing conflicting CL to this CL...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Description was changed from ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ========== to ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ==========
The CQ bit was unchecked by tzik@chromium.org
/net LGTM.
The CQ bit was checked by tzik@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from gab@chromium.org, marq@chromium.org Link to the patchset: https://codereview.chromium.org/2690533002/#ps470001 (title: "resolve conflict")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 470001, "attempt_start_ts": 1487091124162570, "parent_rev": "309c0997afe19ab971686abf5cca1dd7fd4f7d8b", "commit_rev": "70b7c5d796420107930c72d4ad82e0c850166b1a"}
Message was sent while issue was closed.
Description was changed from ========== 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-Commit-Position: refs/heads/master@{#450321} Committed: https://chromium.googlesource.com/chromium/src/+/d502a3f2fa0b673a5082c1d60129... ========== to ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... ==========
Message was sent while issue was closed.
Committed patchset #6 (id:470001) as https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82...
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:470001) has been created in https://codereview.chromium.org/2694813005/ by gcasto@chromium.org. The reason for reverting is: This patch is causing failures on the CrOS build bot: ../../chrome/browser/chromeos/login/wizard_controller.cc:225:42: error: member access into incomplete type 'base::SequencedWorkerPool' DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); ^ ../../base/threading/thread_restrictions.h:93:7: note: forward declaration of 'base::SequencedWorkerPool' class SequencedWorkerPool; ^ 1 error generated..
Message was sent while issue was closed.
On 2017/02/14 18:01:17, Garrett Casto wrote: > A revert of this CL (patchset #6 id:470001) has been created in > https://codereview.chromium.org/2694813005/ by mailto:gcasto@chromium.org. > > The reason for reverting is: This patch is causing failures on the CrOS build > bot: > > ../../chrome/browser/chromeos/login/wizard_controller.cc:225:42: error: member > access into incomplete type 'base::SequencedWorkerPool' > DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); > ^ > ../../base/threading/thread_restrictions.h:93:7: note: forward declaration of > 'base::SequencedWorkerPool' > class SequencedWorkerPool; > ^ > 1 error generated.. Thanks for taking care!
Message was sent while issue was closed.
Description was changed from ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... ========== to ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... ==========
On 2017/02/14 18:02:42, tzik wrote: > On 2017/02/14 18:01:17, Garrett Casto wrote: > > A revert of this CL (patchset #6 id:470001) has been created in > > https://codereview.chromium.org/2694813005/ by mailto:gcasto@chromium.org. > > > > The reason for reverting is: This patch is causing failures on the CrOS build > > bot: > > > > ../../chrome/browser/chromeos/login/wizard_controller.cc:225:42: error: member > > access into incomplete type 'base::SequencedWorkerPool' > > DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); > > ^ > > ../../base/threading/thread_restrictions.h:93:7: note: forward declaration of > > 'base::SequencedWorkerPool' > > class SequencedWorkerPool; > > ^ > > 1 error generated.. > > Thanks for taking care I posted this in the revert CL, but putting it here as well for visibility. This also caused failures on the Windows bot (https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/b...) FAILED: obj/chrome/browser/ui/ui_1/version_updater_win.obj ninja -t msvc -e environment.x86 -- C:\b\c\cipd\goma/gomacc.exe "C:\b\depot_tools\win_toolchain\vs_files\d3cb0e37bdd120ad0ac4650b674b09e81be45616\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/chrome/browser/ui/ui_1/version_updater_win.obj.rsp /c ../../chrome/browser/ui/webui/help/version_updater_win.cc /Foobj/chrome/browser/ui/ui_1/version_updater_win.obj /Fd"obj/chrome/browser/ui/ui_1_cc.pdb" c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): error C2664: 'bool base::PostTaskAndReplyWithResult<R,bool>(base::TaskRunner *,const tracked_objects::Location &,base::Callback<R (void),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>,base::Callback<void (bool),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>)': cannot convert argument 1 from 'base::SequencedWorkerPool *' to 'base::TaskRunner *' with [ R=bool ] c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
On 2017/02/14 18:14:46, Garrett Casto wrote: > On 2017/02/14 18:02:42, tzik wrote: > > On 2017/02/14 18:01:17, Garrett Casto wrote: > > > A revert of this CL (patchset #6 id:470001) has been created in > > > https://codereview.chromium.org/2694813005/ by mailto:gcasto@chromium.org. > > > > > > The reason for reverting is: This patch is causing failures on the CrOS > build > > > bot: > > > > > > ../../chrome/browser/chromeos/login/wizard_controller.cc:225:42: error: > member > > > access into incomplete type 'base::SequencedWorkerPool' > > > DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); > > > ^ > > > ../../base/threading/thread_restrictions.h:93:7: note: forward declaration > of > > > 'base::SequencedWorkerPool' > > > class SequencedWorkerPool; > > > ^ > > > 1 error generated.. > > > > Thanks for taking care > > I posted this in the revert CL, but putting it here as well for visibility. > > This also caused failures on the Windows bot > (https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/b...) > > FAILED: obj/chrome/browser/ui/ui_1/version_updater_win.obj > ninja -t msvc -e environment.x86 -- C:\b\c\cipd\goma/gomacc.exe > "C:\b\depot_tools\win_toolchain\vs_files\d3cb0e37bdd120ad0ac4650b674b09e81be45616\VC\bin\amd64_x86/cl.exe" > /nologo /showIncludes /FC > @obj/chrome/browser/ui/ui_1/version_updater_win.obj.rsp /c > ../../chrome/browser/ui/webui/help/version_updater_win.cc > /Foobj/chrome/browser/ui/ui_1/version_updater_win.obj > /Fd"obj/chrome/browser/ui/ui_1_cc.pdb" > c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): > error C2664: 'bool base::PostTaskAndReplyWithResult<R,bool>(base::TaskRunner > *,const tracked_objects::Location &,base::Callback<R > (void),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>,base::Callback<void > (bool),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>)': > cannot convert argument 1 from 'base::SequencedWorkerPool *' to > 'base::TaskRunner *' > with > [ > R=bool > ] > c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): > note: Types pointed to are unrelated; conversion requires reinterpret_cast, > C-style cast or function-style cast That's specific to the official build on Windows. :( folks: This CL touches handreds of files and was reverted twice. Rather than relanding this CL as is, let me break this down to pieces and land one by one.
On 2017/02/14 18:30:14, tzik wrote: > On 2017/02/14 18:14:46, Garrett Casto wrote: > > On 2017/02/14 18:02:42, tzik wrote: > > > On 2017/02/14 18:01:17, Garrett Casto wrote: > > > > A revert of this CL (patchset #6 id:470001) has been created in > > > > https://codereview.chromium.org/2694813005/ by mailto:gcasto@chromium.org. > > > > > > > > The reason for reverting is: This patch is causing failures on the CrOS > > build > > > > bot: > > > > > > > > ../../chrome/browser/chromeos/login/wizard_controller.cc:225:42: error: > > member > > > > access into incomplete type 'base::SequencedWorkerPool' > > > > DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); > > > > ^ > > > > ../../base/threading/thread_restrictions.h:93:7: note: forward declaration > > of > > > > 'base::SequencedWorkerPool' > > > > class SequencedWorkerPool; > > > > ^ > > > > 1 error generated.. > > > > > > Thanks for taking care > > > > I posted this in the revert CL, but putting it here as well for visibility. > > > > This also caused failures on the Windows bot > > > (https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/b...) > > > > FAILED: obj/chrome/browser/ui/ui_1/version_updater_win.obj > > ninja -t msvc -e environment.x86 -- C:\b\c\cipd\goma/gomacc.exe > > > "C:\b\depot_tools\win_toolchain\vs_files\d3cb0e37bdd120ad0ac4650b674b09e81be45616\VC\bin\amd64_x86/cl.exe" > > /nologo /showIncludes /FC > > @obj/chrome/browser/ui/ui_1/version_updater_win.obj.rsp /c > > ../../chrome/browser/ui/webui/help/version_updater_win.cc > > /Foobj/chrome/browser/ui/ui_1/version_updater_win.obj > > /Fd"obj/chrome/browser/ui/ui_1_cc.pdb" > > > c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): > > error C2664: 'bool base::PostTaskAndReplyWithResult<R,bool>(base::TaskRunner > > *,const tracked_objects::Location &,base::Callback<R > > > (void),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>,base::Callback<void > > > (bool),base::internal::CopyMode::Copyable,base::internal::RepeatMode::Repeating>)': > > cannot convert argument 1 from 'base::SequencedWorkerPool *' to > > 'base::TaskRunner *' > > with > > [ > > R=bool > > ] > > > c:\b\c\b\win_chrome\src\chrome\browser\ui\webui\help\version_updater_win.cc(58): > > note: Types pointed to are unrelated; conversion requires reinterpret_cast, > > C-style cast or function-style cast > > That's specific to the official build on Windows. :( > > folks: This CL touches handreds of files and was reverted twice. > Rather than relanding this CL as is, let me break this down to pieces and land > one by one. @tizk: what I usually do for such changes is land all the prerequisite IWYU changes first (they're the right thing on their own) and then repeatedly try to land the core change until it sticks (making another precursor CL when it doesn't)
Description was changed from ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... ========== to ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ==========
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by tzik@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by tzik@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from gab@chromium.org, rdsmith@chromium.org, marq@chromium.org Link to the patchset: https://codereview.chromium.org/2690533002/#ps550001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 550001, "attempt_start_ts": 1487234357688170, "parent_rev": "de938a8e39930cca0d2a1f8c96f2cdc9b15192de", "commit_rev": "0c2fcf56d2df0bb7b31ccb1509662255b5852451"}
Message was sent while issue was closed.
Description was changed from ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng ========== to ========== 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/+/d502a3f2fa0b673a5082c1d60129... Review-Url: https://codereview.chromium.org/2690533002 Cr-Commit-Position: refs/heads/master@{#450384} Committed: https://chromium.googlesource.com/chromium/src/+/70b7c5d796420107930c72d4ad82... 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/+/0c2fcf56d2df0bb7b31ccb150966... ==========
Message was sent while issue was closed.
Committed patchset #10 (id:550001) as https://chromium.googlesource.com/chromium/src/+/0c2fcf56d2df0bb7b31ccb150966... |