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

Issue 1658813003: Replace base::Callback forward decl with callback_forward.h (Closed)

Created:
4 years, 10 months ago by tzik
Modified:
4 years, 10 months ago
Reviewers:
Nico, ananta, qinmin
CC:
chromium-reviews, cbentzel+watch_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, vmpstr+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace base::Callback forward decl with callback_forward.h base::Callback will have extra template parameters with default values. But manual forward declaration causes a compile error on the parameter addition. This CL unifies the forward decls for its preparation. BUG=554299 Committed: https://crrev.com/a87bd2fc736d4d528ba3d85ecc8862d74a65c81a Cr-Commit-Position: refs/heads/master@{#374733}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 3

Patch Set 7 : rebase #

Patch Set 8 : revert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -12 lines) Patch
M chrome/browser/chromeos/base/locale_util.h View 1 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/chromeos/net/delay_network_call.h View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 42 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/1
4 years, 10 months ago (2016-02-02 13:16:13 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/125059)
4 years, 10 months ago (2016-02-02 13:27:17 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/40001
4 years, 10 months ago (2016-02-03 08:36:59 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/88068) linux_chromium_gn_chromeos_rel on ...
4 years, 10 months ago (2016-02-03 09:04:52 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/60001
4 years, 10 months ago (2016-02-03 09:16:19 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/151554) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 10 months ago (2016-02-03 09:34:13 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/80001
4 years, 10 months ago (2016-02-03 10:52:19 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-03 12:34:15 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/100001
4 years, 10 months ago (2016-02-06 22:06:05 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_TIMED_OUT, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/19489)
4 years, 10 months ago (2016-02-07 04:06:50 UTC) #20
tzik
PTAL. I'm extending base::Callback for movable types (WIP CL: http://crrev.com/1689543004). But before that, I want ...
4 years, 10 months ago (2016-02-10 20:05:36 UTC) #24
qinmin
media/base/android lgtm
4 years, 10 months ago (2016-02-10 20:09:12 UTC) #25
Nico
https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h File base/callback_forward.h (right): https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h#newcode17 base/callback_forward.h:17: using Callback = internal::CallbackImpl<Signature>; Won't ADL mean that this ...
4 years, 10 months ago (2016-02-10 20:10:41 UTC) #26
Nico
The non-base bits lgtm. base lgtm if my ADL comment is incorrect or if there's ...
4 years, 10 months ago (2016-02-10 20:20:21 UTC) #27
tzik
https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h File base/callback_forward.h (right): https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h#newcode17 base/callback_forward.h:17: using Callback = internal::CallbackImpl<Signature>; On 2016/02/10 20:10:41, Nico wrote: ...
4 years, 10 months ago (2016-02-10 20:32:35 UTC) #28
Nico
https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h File base/callback_forward.h (right): https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h#newcode17 base/callback_forward.h:17: using Callback = internal::CallbackImpl<Signature>; On 2016/02/10 20:32:35, tzik wrote: ...
4 years, 10 months ago (2016-02-10 20:36:19 UTC) #29
tzik
On 2016/02/10 20:36:19, Nico wrote: > https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h > File base/callback_forward.h (right): > > https://codereview.chromium.org/1658813003/diff/100001/base/callback_forward.h#newcode17 > ...
4 years, 10 months ago (2016-02-10 20:55:44 UTC) #30
tzik
Updated! I reverted the rename and namespace migration, and updated the CL description.
4 years, 10 months ago (2016-02-10 21:05:22 UTC) #32
Nico
lgtm (nit: please wrap cl description to 80 cols)
4 years, 10 months ago (2016-02-10 21:06:05 UTC) #33
tzik
On 2016/02/10 21:06:05, Nico wrote: > lgtm > > (nit: please wrap cl description to ...
4 years, 10 months ago (2016-02-10 21:07:51 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1658813003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1658813003/140001
4 years, 10 months ago (2016-02-10 21:09:34 UTC) #38
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-02-10 21:47:17 UTC) #40
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:31:19 UTC) #42
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/a87bd2fc736d4d528ba3d85ecc8862d74a65c81a
Cr-Commit-Position: refs/heads/master@{#374733}

Powered by Google App Engine
This is Rietveld 408576698