| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
class TabAddedWaiter : public TabListInterfaceObserver {I remember that we defined some sort of waiter in a util file for extensions? (Most probably it wasnt for tab addition)
tab_list_->AddTabListInterfaceObserver(this);nit: can we used ScopedObservation here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
tab_list_->AddTabListInterfaceObserver(this);nit: can we used ScopedObservation here?
lol
| Auto-Submit | +1 |
Zoraiz, please take another look. Thanks.
I remember that we defined some sort of waiter in a util file for extensions? (Most probably it wasnt for tab addition)
I added BrowserCreatedWaiter a few months ago because it was used in a couple places. I was planning to leave this one here unless we need it in multiple places.
Achuith Bhandarkarnit: can we used ScopedObservation here?
lol
In the spirit of "the reviewer is always right", done. However, please read my 1 page doc about why I don't like ScopedObservation. It can lead to hard-to-spot use-after-free. Maybe we can use AddObserver/RemoveObserver in the future?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
extensions: Port ViewExtensionSourceTest to desktop Android
This required migrating away from browser_commands.h which isn't used
on Android, hence chrome::CloseTab() and chrome::RestoreTab() aren't
available. It also required a custom TabAddedWaiter, as ui_test_utils
is also not available on Android.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |