|
|
Chromium Code Reviews
Descriptioncomponents/bookmarks: convert usage of FOR_EACH_OBSERVER macro
ObserverList now supports range-based for loops and thus this can be
used to iterate through a list of observers as the FOR_EACH_OBSERVER
macro was deprecated.
This patch was generated by the following command line:
$ cd components/bookmarks
$ perl -0777 -pi -e
's/FOR_EACH_OBSERVER\(\s*([\w:]+?)\s*,\s*([\w:()]+?)\s*,\s*([^;]+?)\);/for
(\1& observer : \2) observer.\3;/mg' $(git gs FOR_EACH_OBSERVER | cut -d: -f1 | uniq)
And then manually inspected for line indentation fixes.
BUG=655021
TEST=components_unittests
R=sky@chromium.org
Committed: https://crrev.com/2fa1d2fb3d6251ea8cbff3a34801d06f5c8c2abc
Cr-Commit-Position: refs/heads/master@{#426113}
Patch Set 1 #Patch Set 2 : REBASE #Patch Set 3 : fix #
Total comments: 2
Patch Set 4 : add back code deleted #Patch Set 5 : BookmarkMetaInfoChanged #Messages
Total messages: 32 (23 generated)
The CQ bit was checked by tfarina@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: Exceeded global retry quota
The CQ bit was checked by tfarina@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 tfarina@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_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2425603005/diff/40001/components/bookmarks/br... File components/bookmarks/browser/bookmark_model.cc (left): https://codereview.chromium.org/2425603005/diff/40001/components/bookmarks/br... components/bookmarks/browser/bookmark_model.cc:440: FOR_EACH_OBSERVER(BookmarkModelObserver, observers_, Why did you remove this one?
The CQ bit was checked by tfarina@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/2425603005/diff/40001/components/bookmarks/br... File components/bookmarks/browser/bookmark_model.cc (left): https://codereview.chromium.org/2425603005/diff/40001/components/bookmarks/br... components/bookmarks/browser/bookmark_model.cc:440: FOR_EACH_OBSERVER(BookmarkModelObserver, observers_, On 2016/10/18 21:38:41, sky wrote: > Why did you remove this one? Sorry, something went wrong when I was editing this on emacs. Added it back.
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 tfarina@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...
LGTM
The CQ bit was unchecked by ericwilligers@chromium.org
The CQ bit was checked by ericwilligers@chromium.org
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
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...)
The CQ bit was checked by tfarina@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== components/bookmarks: convert usage of FOR_EACH_OBSERVER macro ObserverList now supports range-based for loops and thus this can be used to iterate through a list of observers as the FOR_EACH_OBSERVER macro was deprecated. This patch was generated by the following command line: $ cd components/bookmarks $ perl -0777 -pi -e 's/FOR_EACH_OBSERVER\(\s*([\w:]+?)\s*,\s*([\w:()]+?)\s*,\s*([^;]+?)\);/for (\1& observer : \2) observer.\3;/mg' $(git gs FOR_EACH_OBSERVER | cut -d: -f1 | uniq) And then manually inspected for line indentation fixes. BUG=655021 TEST=components_unittests R=sky@chromium.org ========== to ========== components/bookmarks: convert usage of FOR_EACH_OBSERVER macro ObserverList now supports range-based for loops and thus this can be used to iterate through a list of observers as the FOR_EACH_OBSERVER macro was deprecated. This patch was generated by the following command line: $ cd components/bookmarks $ perl -0777 -pi -e 's/FOR_EACH_OBSERVER\(\s*([\w:]+?)\s*,\s*([\w:()]+?)\s*,\s*([^;]+?)\);/for (\1& observer : \2) observer.\3;/mg' $(git gs FOR_EACH_OBSERVER | cut -d: -f1 | uniq) And then manually inspected for line indentation fixes. BUG=655021 TEST=components_unittests R=sky@chromium.org Committed: https://crrev.com/2fa1d2fb3d6251ea8cbff3a34801d06f5c8c2abc Cr-Commit-Position: refs/heads/master@{#426113} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/2fa1d2fb3d6251ea8cbff3a34801d06f5c8c2abc Cr-Commit-Position: refs/heads/master@{#426113} |
