Index: chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receiving_device_info_handler_ios.h |
diff --git a/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receiving_device_info_handler_ios.h b/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receiving_device_info_handler_ios.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2cf64f87afb9179cb8d1e416b86f47c3b5fc308b |
--- /dev/null |
+++ b/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receiving_device_info_handler_ios.h |
@@ -0,0 +1,37 @@ |
+// Copyright 2012 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_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVING_DEVICE_INFO_HANDLER_IOS_H_ |
+#define CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVING_DEVICE_INFO_HANDLER_IOS_H_ |
+ |
+#include "chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receiving_device_info_handler.h" |
+ |
+#include "base/memory/scoped_ptr.h" |
+ |
+namespace chrome_to_mobile_receive { |
+ |
+// Implementation of |ChromeToMobileReceivingDeviceInfoHandler| for iOS devices. |
+class ChromeToMobileReceivingDeviceInfoHandlerIOS |
+ : public ChromeToMobileReceivingDeviceInfoHandler { |
+ public: |
+ ChromeToMobileReceivingDeviceInfoHandlerIOS(); |
+ virtual ~ChromeToMobileReceivingDeviceInfoHandlerIOS(); |
+ |
+ static bool IsChromeToMobileReceiveNotificationSupported(); |
+ static std::map<std::string, std::string> GeneratePrinterTags( |
+ const std::string& device_token); |
+ |
+ // |ChromeToMobileReceivingDeviceInfoHandler| |
+ virtual bool IsSupported() const OVERRIDE; |
+ virtual void Start() OVERRIDE; |
+ virtual bool HasRequiredInformation( |
+ std::map<std::string, std::string> printer_tags) const OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ChromeToMobileReceivingDeviceInfoHandlerIOS); |
+}; |
+ |
+} // namespace chrome_to_mobile_receive |
+ |
+#endif // CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVING_DEVICE_INFO_HANDLER_IOS_H_ |