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..b19a479063e6d4de0a375aea6a49c81647021495 |
| --- /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_ |
|
imcheng
2017/03/22 00:31:47
Insert empty line above
zhaobin
2017/03/22 01:55:32
Done.
|
| +#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. |
| + std::string model_name; |
| + |
| + // The reported device type, e.g. urn:dial-multiscreen-org:device:dial:1 |
| + std::string device_type; |
| +}; |
| + |
| +} // namespace media_router |
| + |
| +#endif // CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_ |