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

Unified Diff: chrome/browser/views/autofill_profiles_view_win.cc

Issue 2920004: Nukes the import parameters to ShowAutoFillDialog as they aren't used. (Closed)
Patch Set: added todos Created 10 years, 5 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
« no previous file with comments | « chrome/browser/gtk/options/content_page_gtk.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/autofill_profiles_view_win.cc
diff --git a/chrome/browser/views/autofill_profiles_view_win.cc b/chrome/browser/views/autofill_profiles_view_win.cc
index b8e18ee8b534ac1e539fc21af94482d6573182a3..44689998d13d8ba55967c2c2190a878395b50b60 100644
--- a/chrome/browser/views/autofill_profiles_view_win.cc
+++ b/chrome/browser/views/autofill_profiles_view_win.cc
@@ -94,6 +94,7 @@ AutoFillProfilesView::~AutoFillProfilesView() {
personal_data_manager_->RemoveObserver(this);
}
+// TODO: get rid of imported_profile and imported_credit_card.
int AutoFillProfilesView::Show(gfx::NativeWindow parent,
AutoFillDialogObserver* observer,
PersonalDataManager* personal_data_manager,
@@ -1365,14 +1366,12 @@ void AutoFillProfilesView::ContentListTableModel::SetObserver(
// Declared in "chrome/browser/autofill/autofill_dialog.h"
void ShowAutoFillDialog(gfx::NativeView parent,
AutoFillDialogObserver* observer,
- Profile* profile,
- AutoFillProfile* imported_profile,
- CreditCard* imported_credit_card) {
+ Profile* profile) {
DCHECK(profile);
PersonalDataManager* personal_data_manager =
profile->GetPersonalDataManager();
DCHECK(personal_data_manager);
AutoFillProfilesView::Show(parent, observer, personal_data_manager,
- profile->GetPrefs(), imported_profile, imported_credit_card);
+ profile->GetPrefs(), NULL, NULL);
}
« no previous file with comments | « chrome/browser/gtk/options/content_page_gtk.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698