Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: components/autofill/core/browser/autofill_driver.h

Issue 18563002: Move SendAutofillTypePredictions() into AutofillDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index 88ea7a81a93c872e034b169bff7d445006bec2d4..dd20e0b09268d922557f655dcea2b1c6c3ea8227 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -13,6 +13,8 @@ class WebContents;
namespace autofill {
+class FormStructure;
+
// Interface that allows Autofill core code to interact with its driver (i.e.,
// obtain information from it and give information to it). A concrete
// implementation must be provided by the driver.
@@ -31,6 +33,12 @@ class AutofillDriver {
// original request for the data. This method is a no-op if the renderer is
// not currently available.
virtual void SendFormDataToRenderer(int query_id, const FormData& data) = 0;
+
+ // Sends the field type predictions specified in |forms|to the renderer. This
Ilya Sherman 2013/07/02 18:43:01 nit: "|forms|to" -> "|forms| to"
blundell 2013/07/02 20:15:33 Done.
+ // method is a no-op if the renderer is not available or the appropriate
+ // command-line flag is not set.
+ virtual void SendAutofillTypePredictionsToRenderer(
+ const std::vector<FormStructure*>& forms) = 0;
Ilya Sherman 2013/07/02 18:43:01 nit: #include <vector>?
blundell 2013/07/02 20:15:33 Done.
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698