Index: components/autofill/browser/autofill_manager.h |
diff --git a/components/autofill/browser/autofill_manager.h b/components/autofill/browser/autofill_manager.h |
index bac6bc709ce088ab8a363eb2f00be19518b1f071..abb007c6731d1bd91a175b4aa81eba11eeac0f1c 100644 |
--- a/components/autofill/browser/autofill_manager.h |
+++ b/components/autofill/browser/autofill_manager.h |
@@ -206,7 +206,7 @@ class AutofillManager : public AutofillDownloadManager::Observer { |
} |
// Processes the submitted |form|, saving any new Autofill data and uploading |
- // the possible field types for the submitted fields to the crowdsouring |
+ // the possible field types for the submitted fields to the crowdsourcing |
// server. Returns false if this form is not relevant for Autofill. |
bool OnFormSubmitted(const FormData& form, |
const base::TimeTicks& timestamp); |
@@ -355,7 +355,7 @@ class AutofillManager : public AutofillDownloadManager::Observer { |
scoped_ptr<AutofillDownloadManager> download_manager_; |
// Handles single-field autocomplete form data. |
- AutocompleteHistoryManager autocomplete_history_manager_; |
+ scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
// Handles autocheckout flows. |
autofill::AutocheckoutManager autocheckout_manager_; |
@@ -421,7 +421,8 @@ class AutofillManager : public AutofillDownloadManager::Observer { |
FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, |
UserHappinessFormLoadAndSubmission); |
FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); |
- |
+ FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
+ FormSubmittedAutocompleteEnabled); |
DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
}; |