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

Issue 2137183003: Add support for dependent types in FOR_EACH_OBSERVER (Closed)

Created:
4 years, 5 months ago by Luis Héctor Chávez
Modified:
4 years, 5 months ago
Reviewers:
dcheng
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/a/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for dependent types in FOR_EACH_OBSERVER In the expansion of FOR_EACH_OBSERVER, there is a base::ObserverListBase<ObserverType>::Iterator. If ObserverType is a templated type, it won't compile due to a lack of a 'typename'. This change fixes that. BUG=627209 TEST=dependent types now compile Committed: https://crrev.com/89b89baef6868ee3c23c0c68f100179fb03f7217 Cr-Commit-Position: refs/heads/master@{#404980}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M base/observer_list.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Luis Héctor Chávez
PTAL Ran into this issue with https://codereview.chromium.org/2133503002/diff/140001/components/arc/instance_holder.h#newcode73 and I wanted to avoid expanding the macro.
4 years, 5 months ago (2016-07-11 20:18:23 UTC) #2
dcheng
lgtm
4 years, 5 months ago (2016-07-12 02:22:31 UTC) #3
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/2137183003/1
4 years, 5 months ago (2016-07-12 02:43:37 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/190827)
4 years, 5 months ago (2016-07-12 04:47:56 UTC) #7
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/2137183003/1
4 years, 5 months ago (2016-07-12 04:50:53 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/190935)
4 years, 5 months ago (2016-07-12 08:55:44 UTC) #11
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/2137183003/1
4 years, 5 months ago (2016-07-12 12:56:18 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191331)
4 years, 5 months ago (2016-07-12 16:59:43 UTC) #15
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/2137183003/1
4 years, 5 months ago (2016-07-12 20:45:26 UTC) #17
commit-bot: I haz the power
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_chromeos_rel_ng/builds/242990)
4 years, 5 months ago (2016-07-13 00:51:46 UTC) #19
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/2137183003/1
4 years, 5 months ago (2016-07-13 00:57:25 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 03:48:01 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 03:48:21 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 03:50:15 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/89b89baef6868ee3c23c0c68f100179fb03f7217
Cr-Commit-Position: refs/heads/master@{#404980}

Powered by Google App Engine
This is Rietveld 408576698