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

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

Issue 23537014: rAc: Get rid of dialog type in rAc, there is only one type left now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 59951de7e5604d3f0c0c6a5502412c057215ff3f..50a8d26d19f892a355261732de353b4aedc6c2d8 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -621,11 +621,10 @@ const std::vector<FormStructure*>& AutofillManager::GetFormStructures() {
void AutofillManager::ShowRequestAutocompleteDialog(
const FormData& form,
const GURL& source_url,
- autofill::DialogType dialog_type,
const base::Callback<void(const FormStructure*,
const std::string&)>& callback) {
manager_delegate_->ShowRequestAutocompleteDialog(
- form, source_url, dialog_type, callback);
+ form, source_url, callback);
}
void AutofillManager::SetTestDelegate(
@@ -670,8 +669,7 @@ void AutofillManager::OnRequestAutocomplete(
base::Callback<void(const FormStructure*, const std::string&)> callback =
base::Bind(&AutofillManager::ReturnAutocompleteData,
weak_ptr_factory_.GetWeakPtr());
- ShowRequestAutocompleteDialog(
- form, frame_url, autofill::DIALOG_TYPE_REQUEST_AUTOCOMPLETE, callback);
+ ShowRequestAutocompleteDialog(form, frame_url, callback);
}
void AutofillManager::ReturnAutocompleteResult(
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/autofill_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698