Index: ios/chrome/browser/ui/activity_services/share_to_data_builder.h |
diff --git a/ios/chrome/browser/ui/activity_services/share_to_data_builder.h b/ios/chrome/browser/ui/activity_services/share_to_data_builder.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..89ef7245d478f3e026f1472865f15ec13281884d |
--- /dev/null |
+++ b/ios/chrome/browser/ui/activity_services/share_to_data_builder.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2017 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 IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_BUILDER_H_ |
+#define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_BUILDER_H_ |
+ |
+@class ShareToData; |
+@class Tab; |
+ |
+namespace activity_services { |
+ |
+// Returns a ShareToData object using data from |tab|. |tab| must not be nil. |
+// Function may return nil. |
+ShareToData* ShareToDataFromTab(Tab* tab); |
+ |
+} // namespace activity_services |
+ |
+#endif // IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_BUILDER_H_ |