Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / local_discovery / cloud_device_list_delegate.h
blob71d07af60f6936a64d7de64b2e4764404cfe4edb
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_
8 #include <string>
9 #include <vector>
11 namespace local_discovery {
13 class CloudDeviceListDelegate {
14 public:
15 static const char kDeviceTypePrinter[];
16 struct Device {
17 Device();
18 ~Device();
20 std::string id;
21 std::string type;
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_