| Index: chrome/browser/local_discovery/privet_device_lister.h
|
| diff --git a/chrome/browser/local_discovery/privet_device_lister.h b/chrome/browser/local_discovery/privet_device_lister.h
|
| index ee1553f5522f430947f6d896561ad714f5f3204a..a9797d6b776326ff2537aacbd471bfe1767d095a 100644
|
| --- a/chrome/browser/local_discovery/privet_device_lister.h
|
| +++ b/chrome/browser/local_discovery/privet_device_lister.h
|
| @@ -9,39 +9,12 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/time/time.h"
|
| +#include "chrome/browser/local_discovery/device_description.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/net_util.h"
|
|
|
| namespace local_discovery {
|
|
|
| -struct DeviceDescription {
|
| - enum ConnectionState {
|
| - ONLINE,
|
| - OFFLINE,
|
| - CONNECTING,
|
| - NOT_CONFIGURED,
|
| - UNKNOWN
|
| - };
|
| -
|
| - DeviceDescription();
|
| - ~DeviceDescription();
|
| -
|
| - // Display attributes
|
| - std::string name;
|
| - std::string description;
|
| -
|
| - // Functional attributes
|
| - std::string url;
|
| - std::string id;
|
| - std::string type;
|
| - ConnectionState connection_state;
|
| -
|
| - // Attributes related to local HTTP
|
| - net::HostPortPair address;
|
| - net::IPAddressNumber ip_address;
|
| - base::Time last_seen;
|
| -};
|
| -
|
| class PrivetDeviceLister {
|
| public:
|
| class Delegate {
|
| @@ -53,7 +26,6 @@ class PrivetDeviceLister {
|
| virtual void DeviceCacheFlushed() = 0;
|
| };
|
|
|
| -
|
| virtual ~PrivetDeviceLister() {}
|
|
|
| // Start the PrivetServiceLister.
|
|
|