Adds the object passed to the constructor as an observer on |source|.
| 24 | |
| 25 | // Adds the object passed to the constructor as an observer on |source|. |
| 26 | void Add(Source* source) { |
| 27 | sources_.push_back(source); |
| 28 | source->AddObserver(observer_); |
| 29 | } |
| 30 | |
| 31 | // Remove the object passed to the constructor as an observer from |source|. |
| 32 | void Remove(Source* source) { |
nothing calls this directly
no test coverage detected