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

Unified Diff: chrome/browser/autofill/autofill_dialog_gtk.cc

Issue 1952002: AutoFill profile shouldn't be saved when cancelled during initial setup. (Closed)
Patch Set: Created 10 years, 8 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: chrome/browser/autofill/autofill_dialog_gtk.cc
diff --git a/chrome/browser/autofill/autofill_dialog_gtk.cc b/chrome/browser/autofill/autofill_dialog_gtk.cc
index 2369fbddfa57581bcc97369627e73245636f430a..80fea6a19778d6d16c7ffc6afd9f16173d105990 100644
--- a/chrome/browser/autofill/autofill_dialog_gtk.cc
+++ b/chrome/browser/autofill/autofill_dialog_gtk.cc
@@ -1066,9 +1066,14 @@ void AutoFillDialog::AddCreditCard(const CreditCard& credit_card,
///////////////////////////////////////////////////////////////////////////////
// Factory/finder method:
-void ShowAutoFillDialog(gfx::NativeWindow parent,
+// TODO(jhawkins): Need to update implementation to match new interface for
+// |imported_profile| and |imported_credit_card| parameters.
+// See http://crbug.com/41010
+void ShowAutoFillDialog(gfx::NativeView parent,
AutoFillDialogObserver* observer,
- Profile* profile) {
+ Profile* profile,
+ AutoFillProfile* imported_profile,
+ CreditCard* imported_credit_card) {
// It's possible we haven't shown the InfoBar yet, but if the user is in the
// AutoFill dialog, she doesn't need to be asked to enable or disable
// AutoFill.
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm ('k') | chrome/browser/autofill/autofill_dialog_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698