Set the device designated as the "client". This device must also be registered via AddDevice().
| 40 | // Set the device designated as the "client". This device |
| 41 | // must also be registered via AddDevice(). |
| 42 | void set_client_device(Device* device) { |
| 43 | DCHECK(client_device_ == nullptr); |
| 44 | client_device_ = device; |
| 45 | } |
| 46 | |
| 47 | // Returns a pointer to the device designated as the "client". |
| 48 | Device* client_device() const { return client_device_; } |
no outgoing calls
no test coverage detected