Returns true if there are no subscriptions. This is only valid to call when not looping through the list.
| 156 | // Returns true if there are no subscriptions. This is only valid to call when |
| 157 | // not looping through the list. |
| 158 | bool empty() { |
| 159 | DCHECK_EQ(0, active_iterator_count_); |
| 160 | return callbacks_.empty(); |
| 161 | } |
| 162 | |
| 163 | protected: |
| 164 | // An iterator class that can be used to access the list of callbacks. |
no outgoing calls
no test coverage detected