| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | 8 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| 9 #include "components/autofill/core/browser/autofill_type.h" | 9 #include "components/autofill/core/browser/autofill_type.h" |
| 10 #include "components/autofill/core/browser/field_types.h" | 10 #include "components/autofill/core/browser/field_types.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding | 39 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding |
| 40 // to the |section|. | 40 // to the |section|. |
| 41 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent( | 41 AutofillMetrics::DialogUiEvent DialogSectionToUiItemAddedEvent( |
| 42 DialogSection section); | 42 DialogSection section); |
| 43 | 43 |
| 44 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding | 44 // Returns the AutofillMetrics::DIALOG_UI_*_ITEM_ADDED metric corresponding |
| 45 // to the |section|. | 45 // to the |section|. |
| 46 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( | 46 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( |
| 47 DialogSection section); | 47 DialogSection section); |
| 48 | 48 |
| 49 // We hardcode some values. In particular, we don't yet allow the user to change |
| 50 // the country: http://crbug.com/247518 |
| 51 string16 GetHardcodedValueForType(ServerFieldType type); |
| 52 |
| 49 } // namespace common | 53 } // namespace common |
| 50 } // namespace autofill | 54 } // namespace autofill |
| 51 | 55 |
| 52 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ | 56 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ |
| OLD | NEW |