Index: components/autofill/content/renderer/form_cache.h |
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h |
index 15c568056c872a2a5ed5c3950718eca6a2e73bef..faa0a302d5efada113d77d907350fcd23f497f8b 100644 |
--- a/components/autofill/content/renderer/form_cache.h |
+++ b/components/autofill/content/renderer/form_cache.h |
@@ -48,6 +48,10 @@ class FormCache { |
// and the experiment id for the server predictions. |
bool ShowPredictions(const FormDataPredictions& form); |
+ // Determines whether the form is interesting enough to send to the browser |
+ // for further operations. Exposed for testing. |
+ static bool IsFormInteresting(FormData form); |
Evan Stade
2015/11/04 17:15:18
this doesn't belong here because it's not actually
sebsg
2015/11/10 19:04:51
Done.
|
+ |
private: |
// Scans |control_elements| and returns the number of editable elements. |
// Also remembers the initial <select> and <input> element states, and |