Chromium Code Reviews| Index: chrome/common/media_router/dial_device_description.h |
| diff --git a/chrome/common/media_router/dial_device_description.h b/chrome/common/media_router/dial_device_description.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cb8ef416ea0960340af8e8ac0878f1d025b0b786 |
| --- /dev/null |
| +++ b/chrome/common/media_router/dial_device_description.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| +#ifndef CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_ |
| +#define CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_ |
| + |
| +#include <string> |
| + |
| +namespace media_router { |
| + |
| +// Represents a DIAL device description. |
| +struct DialDeviceDescription { |
| + DialDeviceDescription(); |
| + DialDeviceDescription(const DialDeviceDescription& other); |
| + ~DialDeviceDescription(); |
| + |
| + // UUID (UDN). |
| + std::string unique_id; |
| + |
| + // Short user-friendly title. |
| + std::string friendly_name; |
| + |
| + // Model name |
|
mark a. foltz
2017/03/18 18:56:57
Nit: Period at end
zhaobin
2017/03/20 21:25:46
Done.
|
| + std::string model_name; |
| + |
| + // The reported device type. E.g. urn:dial-multiscreen-org:device:dial:1 |
|
mark a. foltz
2017/03/18 18:56:57
Nit: type, e.g.
zhaobin
2017/03/20 21:25:46
Done.
|
| + std::string device_type; |
| +}; |
| + |
| +} // namespace media_router |
| + |
| +#endif // CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_ |