1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_
8 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
9 #include "components/autofill/core/browser/autofill_metrics.h"
10 #include "components/autofill/core/browser/dialog_section.h"
13 class AutofillProfile
;
23 // The types of addresses this class supports building.
26 ADDRESS_TYPE_SHIPPING
,
29 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding
31 AutofillMetrics::DialogUiEvent
DialogSectionToUiItemAddedEvent(
32 DialogSection section
);
34 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding
36 AutofillMetrics::DialogUiEvent
DialogSectionToUiSelectionChangedEvent(
37 DialogSection section
);
40 } // namespace autofill
42 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_