commit | 538b1db48679ff36ff68c3db02c9c22648fe82be | [log] [tgz] |
---|---|---|
author | Mitsuru Oshima <oshima@chromium.org> | Wed Feb 28 04:05:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 28 04:05:23 2018 |
tree | f1a3cf7c96c38e80815d904545039292c2dacb71 | |
parent | 5388b8039144e77e37927478fe91670ba8d4befb [diff] |
[reland] Add allow_reentrancy parameter to ObserverList Certain client code wants to make sure that no loop is performed while looping to avoid unexpected behaivor. Use this new parameter to check this condition in debug build & unit tests. Introduced ReentrantObserverList (which is currently same as defualt) to replace the ones that indeed have to be reentrant in a separate CL. BUG=812109 TEST=Covered by unittests Reviewed-on: https://chromium-review.googlesource.com/915441 Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#537949} Change-Id: Id4e3d04802f247491b39585219482648733b2563 Reviewed-on: https://chromium-review.googlesource.com/939530 Cr-Commit-Position: refs/heads/master@{#539698}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .