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 bool operator==(const ParsedDialDeviceDescription& other) const; |
| 25 |
| 26 // UUID (UDN). |
| 27 std::string unique_id; |
| 28 |
| 29 // Short user-friendly device name. |
| 30 std::string friendly_name; |
| 31 |
| 32 // Device model name. |
| 33 std::string model_name; |
| 34 |
| 35 // The DIAL application URL (used to launch DIAL applications). |
| 36 GURL app_url; |
| 37 }; |
| 38 |
| 39 } // namespace media_router |
| 40 |
| 41 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIP
TION_H_ |
OLD | NEW |