Index: chrome/browser/local_discovery/cloud_device_list_delegate.h |
diff --git a/chrome/browser/local_discovery/cloud_device_list_delegate.h b/chrome/browser/local_discovery/cloud_device_list_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15db377964607714831a739c213b8a0a65bc5f88 |
--- /dev/null |
+++ b/chrome/browser/local_discovery/cloud_device_list_delegate.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_DEVICE_LIST_DELEGATE_H_ |
+#define CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_DEVICE_LIST_DELEGATE_H_ |
+ |
+#include <string> |
+ |
+namespace local_discovery { |
+ |
+class CloudDeviceListDelegate { |
+ public: |
+ static const char kDeviceTypePrinter[]; |
+ |
+ CloudDeviceListDelegate(); |
+ virtual ~CloudDeviceListDelegate(); |
+ |
+ struct Device { |
+ Device(); |
+ ~Device(); |
+ |
+ std::string id; |
+ std::string type; |
+ std::string display_name; |
+ std::string description; |
+ }; |
+ |
+ virtual void OnDeviceListReady() = 0; |
+ virtual void OnDeviceListUnavailable() = 0; |
+}; |
+ |
+} // namespace local_discovery |
+ |
+#endif // CHROME_BROWSER_LOCAL_DISCOVERY_CLOUD_DEVICE_LIST_DELEGATE_H_ |