1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
10 #include "base/time/time.h"
11 #include "net/base/host_port_pair.h"
12 #include "net/base/net_util.h"
14 namespace local_discovery
{
16 struct ServiceDescription
;
18 struct DeviceDescription
{
20 explicit DeviceDescription(const ServiceDescription
& service_description
);
27 std::string description
;
29 // Functional attributes
34 // Attributes related to local HTTP
35 net::HostPortPair address
;
38 } // namespace local_discovery
40 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_