| OLD | NEW |
| 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 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h" | 5 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h" |
| 6 #include "chrome/browser/autofill/autofill_dialog.h" | 6 #include "chrome/browser/autofill/autofill_dialog.h" |
| 7 #include "chrome/browser/profile.h" |
| 7 | 8 |
| 8 // Mac implementation of |ShowAutoFillDialog| interface defined in | 9 // Mac implementation of |ShowAutoFillDialog| interface defined in |
| 9 // |chrome/browser/autofill/autofill_dialog.h|. | 10 // |chrome/browser/autofill/autofill_dialog.h|. |
| 10 void ShowAutoFillDialog(AutoFillDialogObserver* observer, | 11 void ShowAutoFillDialog(AutoFillDialogObserver* observer, |
| 11 const std::vector<AutoFillProfile*>& profiles, | 12 const std::vector<AutoFillProfile*>& profiles, |
| 12 const std::vector<CreditCard*>& credit_cards) { | 13 const std::vector<CreditCard*>& credit_cards, |
| 14 Profile *profile) { |
| 13 [AutoFillDialogController | 15 [AutoFillDialogController |
| 14 showAutoFillDialogWithObserver:observer | 16 showAutoFillDialogWithObserver:observer |
| 15 autoFillProfiles:profiles | 17 autoFillProfiles:profiles |
| 16 creditCards:credit_cards]; | 18 creditCards:credit_cards |
| 19 profile:profile]; |
| 17 } | 20 } |
| 18 | 21 |
| OLD | NEW |