OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIPTIO
N_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIPTIO
N_H_ |
| 7 |
| 8 #include <string> |
| 9 #include "url/gurl.h" |
| 10 |
| 11 namespace media_router { |
| 12 |
| 13 struct ParsedDialDeviceDescription { |
| 14 ParsedDialDeviceDescription(); |
| 15 ParsedDialDeviceDescription(const std::string& unique_id, |
| 16 const std::string& friendly_name, |
| 17 const GURL& app_url); |
| 18 ParsedDialDeviceDescription(const ParsedDialDeviceDescription& other); |
| 19 ~ParsedDialDeviceDescription(); |
| 20 |
| 21 ParsedDialDeviceDescription& operator=( |
| 22 const ParsedDialDeviceDescription& other); |
| 23 |
| 24 // UUID (UDN). |
| 25 std::string unique_id; |
| 26 |
| 27 // Short user-friendly device name. |
| 28 std::string friendly_name; |
| 29 |
| 30 // Device model name. |
| 31 std::string model_name; |
| 32 |
| 33 // The DIAL application URL (used to launch DIAL applications). |
| 34 GURL app_url; |
| 35 }; |
| 36 |
| 37 } // namespace media_router |
| 38 |
| 39 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIP
TION_H_ |
OLD | NEW |