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

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

Issue 1457793002: [Autofill] No longer pass FormStructure pointers in ParseQueryResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added AutofillManager tests Created 5 years, 1 month 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_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index f1ab96d8965732b24ad36b63ceecfd8af2ac735f..ebc4005ab20a18a58bb90d6ce49142658c0f64d6 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -248,7 +248,7 @@ class AutofillManager : public AutofillDownloadManager::Observer,
// AutofillDownloadManager::Observer:
void OnLoadedServerPredictions(
const std::string& response_xml,
- const std::vector<FormStructure*>& queried_forms) override;
+ const std::vector<std::string>& form_signatures) override;
// CardUnmaskDelegate:
void OnUnmaskResponse(const UnmaskResponse& response) override;
@@ -518,6 +518,10 @@ class AutofillManager : public AutofillDownloadManager::Observer,
FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
FormSubmittedAutocompleteEnabled);
FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
+ OnLoadedServerPredictions);
+ FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
+ OnLoadedServerPredictions_ResetManager);
+ FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
AutocompleteSuggestions_SomeWhenAutofillDisabled);
FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
AutocompleteSuggestions_SomeWhenAutofillEmpty);

Powered by Google App Engine
This is Rietveld 408576698