Improve documentation of CookieNotificationBridge
The ownership of the "observer_" member field of CookieNotificationBridge was unclear and after a casual look at the code, it was unclear whether the code caused a retain cycle or not. Rename the member field, mark it as __strong and add documentation to make it clear that the ownership model is correct, and that there is no retain cycle caused by this object. Bug: 1005153 Change-Id: I8f49e39e8355a0a2c758848ef34c45b4d5335b66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809376 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#697649}
Showing
Please register or sign in to comment