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 title. | |
mark a. foltz
2017/04/12 00:17:18
s/title/device name/ ?
zhaobin
2017/04/18 06:58:27
Done.
| |
28 std::string friendly_name; | |
29 | |
30 // Model name. | |
mark a. foltz
2017/04/12 00:17:18
Device model name
zhaobin
2017/04/18 06:58:27
Done.
| |
31 std::string model_name; | |
32 | |
33 // The reported device type, e.g. urn:dial-multiscreen-org:device:dial:1 | |
mark a. foltz
2017/04/12 00:17:18
Won't this always be the same for DIAL devices? I
zhaobin
2017/04/18 06:58:27
Done.
| |
34 std::string device_type; | |
35 | |
36 // The application URL. | |
mark a. foltz
2017/04/12 00:17:18
The DIAL application URL (used to launch DIAL appl
zhaobin
2017/04/18 06:58:27
Done.
| |
37 GURL app_url; | |
38 }; | |
39 | |
40 } // namespace media_router | |
41 | |
42 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIP TION_H_ | |
OLD | NEW |