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

Issue 2415793002: Remove usage of base::ObserverList<T>::Iter::GetNext() in //components/prefs. (Closed)

Created:
4 years, 2 months ago by dcheng
Modified:
4 years, 2 months ago
CC:
chromium-reviews, loyso (OOO)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove usage of base::ObserverList<T>::Iter::GetNext() in //components/prefs. Observer lists now support range-based for loops. BUG=655021 Committed: https://crrev.com/018341c1b436b105874d589bbc1b0c8b6a8a1f9e Cr-Commit-Position: refs/heads/master@{#425480}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -8 lines) Patch
M components/prefs/pref_notifier_impl.cc View 1 chunk +1 line, -3 lines 2 comments Download
M components/prefs/pref_notifier_impl_unittest.cc View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
dcheng
4 years, 2 months ago (2016-10-12 23:29:12 UTC) #4
Pam (message me for reviews)
https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc File components/prefs/pref_notifier_impl.cc (right): https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc#newcode22 components/prefs/pref_notifier_impl.cc:22: if (observer_list.second->begin() != observer_list.second->end()) Why not observer_list.second->size() ?
4 years, 2 months ago (2016-10-14 20:35:26 UTC) #7
dcheng
https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc File components/prefs/pref_notifier_impl.cc (right): https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc#newcode22 components/prefs/pref_notifier_impl.cc:22: if (observer_list.second->begin() != observer_list.second->end()) On 2016/10/14 20:35:26, Pam (message ...
4 years, 2 months ago (2016-10-14 20:38:40 UTC) #8
Pam (message me for reviews)
On 2016/10/14 20:38:40, dcheng wrote: > https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc > File components/prefs/pref_notifier_impl.cc (right): > > https://codereview.chromium.org/2415793002/diff/1/components/prefs/pref_notifier_impl.cc#newcode22 > ...
4 years, 2 months ago (2016-10-14 20:42:19 UTC) #9
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/2415793002/1
4 years, 2 months ago (2016-10-14 20:44:14 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-14 21:54:23 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 21:55:55 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/018341c1b436b105874d589bbc1b0c8b6a8a1f9e
Cr-Commit-Position: refs/heads/master@{#425480}

Powered by Google App Engine
This is Rietveld 408576698