summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_dialog_mac.mm
blob: d23236bc560ca9cf9095a3124127f21efb6fea8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "chrome/browser/autofill/autofill_dialog_controller_mac.h"
#include "chrome/browser/autofill/autofill_dialog.h"
#include "chrome/browser/profile.h"

// Mac implementation of |ShowAutoFillDialog| interface defined in
// |chrome/browser/autofill/autofill_dialog.h|.
void ShowAutoFillDialog(AutoFillDialogObserver* observer,
                        const std::vector<AutoFillProfile*>& profiles,
                        const std::vector<CreditCard*>& credit_cards,
                        Profile *profile) {
  [AutoFillDialogController
      showAutoFillDialogWithObserver:observer
                    autoFillProfiles:profiles
                         creditCards:credit_cards
                             profile:profile];
}