| 29 | } |
| 30 | |
| 31 | Status ResourceHandle::BuildResourceHandle(const ResourceHandleProto& proto, |
| 32 | ResourceHandle* out) { |
| 33 | if (out == nullptr) |
| 34 | return errors::Internal( |
| 35 | "BuildResourceHandle() was called with nullptr for the output"); |
| 36 | return out->FromProto(proto); |
| 37 | } |
| 38 | |
| 39 | ResourceHandle::~ResourceHandle() {} |
| 40 |