Index: components/autofill/ios/browser/autofill_driver_ios_bridge.h |
diff --git a/components/autofill/ios/browser/autofill_driver_ios_bridge.h b/components/autofill/ios/browser/autofill_driver_ios_bridge.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a00cc85c87340ffb70eaa0c2e1a71721bfd7a18 |
--- /dev/null |
+++ b/components/autofill/ios/browser/autofill_driver_ios_bridge.h |
@@ -0,0 +1,23 @@ |
+// 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 COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_ |
+#define COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_ |
+ |
+namespace autofill { |
+struct FormData; |
+class FormStructure; |
+} |
+ |
+@protocol AutofillDriverIOSBridge |
+ |
+- (void)onFormDataFilled:(uint16)query_id |
+ result:(const autofill::FormData&)result; |
+ |
+- (void)sendAutofillTypePredictionsToRenderer: |
+ (const std::vector<autofill::FormStructure*>&)forms; |
+ |
+@end |
+ |
+#endif // COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_ |