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

Side by Side Diff: chrome/browser/autofill/autofill_dialog_gtk.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/autofill/autofill_dialog.h" 5 #include "chrome/browser/autofill/autofill_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 } 971 }
972 972
973 return -1; 973 return -1;
974 } 974 }
975 975
976 /////////////////////////////////////////////////////////////////////////////// 976 ///////////////////////////////////////////////////////////////////////////////
977 // Factory/finder method: 977 // Factory/finder method:
978 978
979 void ShowAutoFillDialog(gfx::NativeView parent, 979 void ShowAutoFillDialog(gfx::NativeView parent,
980 AutoFillDialogObserver* observer, 980 AutoFillDialogObserver* observer,
981 Profile* profile, 981 Profile* profile) {
982 AutoFillProfile* imported_profile,
983 CreditCard* imported_credit_card) {
984 DCHECK(profile); 982 DCHECK(profile);
985 983
986 if (!dialog) { 984 if (!dialog) {
987 dialog = new AutoFillDialog(observer, 985 dialog = new AutoFillDialog(observer,
988 profile->GetPersonalDataManager(), 986 profile->GetPersonalDataManager(),
989 imported_profile, 987 NULL,
990 imported_credit_card); 988 NULL);
991 } 989 }
992 dialog->Show(); 990 dialog->Show();
993 } 991 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_dialog.h ('k') | chrome/browser/autofill/autofill_dialog_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698