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_CLOUD_DEVICE_LIST_DELEGATE_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_DEVICE_LIST_DELEGATE_H_
11 namespace local_discovery
{
13 class CloudDeviceListDelegate
{
15 static const char kDeviceTypePrinter
[];
22 std::string display_name
;
23 std::string description
;
26 typedef std::vector
<Device
> DeviceList
;
28 CloudDeviceListDelegate();
29 virtual ~CloudDeviceListDelegate();
31 virtual void OnDeviceListReady(const DeviceList
& devices
) = 0;
32 virtual void OnDeviceListUnavailable() = 0;
35 } // namespace local_discovery
37 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_DEVICE_LIST_DELEGATE_H_