Index: chrome/browser/autofill/autofill_manager.h |
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h |
index c64627f9b0515c2f73cb615e8bfa7cf8e9af16e0..0b8804a6dedd84744e546f0f0940f8e194106b4b 100644 |
--- a/chrome/browser/autofill/autofill_manager.h |
+++ b/chrome/browser/autofill/autofill_manager.h |
@@ -86,6 +86,8 @@ class AutoFillManager : public IPC::Channel::Listener, |
} |
void set_metric_logger(const AutoFillMetrics* metric_logger); |
+ ScopedVector<FormStructure>* form_structures() { return &form_structures_; } |
+ |
// Maps GUIDs to and from IDs that are used to identify profiles and credit |
// cards sent to and from the renderer process. |
virtual int GUIDToID(const std::string& guid); |
@@ -169,7 +171,8 @@ class AutoFillManager : public IPC::Channel::Listener, |
// Uses existing personal data to determine possible field types for the |
// |upload_form_structure_|. |
- void DeterminePossibleFieldTypesForUpload(); |
+ void DeterminePossibleFieldTypesForUpload( |
+ const FormStructure* cached_upload_form_structure); |
// The TabContents hosting this AutoFillManager. |
// Weak reference. |
@@ -221,6 +224,7 @@ class AutoFillManager : public IPC::Channel::Listener, |
FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetrics); |
FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, |
NoQualityMetricsForNonAutoFillableForms); |
+ FRIEND_TEST_ALL_PREFIXES(AutoFillMetricsTest, QualityMetricsForFailure); |
DISALLOW_COPY_AND_ASSIGN(AutoFillManager); |
}; |