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

Side by Side Diff: components/autofill/core/browser/ui/autofill_dialog_common.h

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
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 COMPONENTS_AUTOFILL_CORE_BROWSER_UI_AUTOFILL_DIALOG_COMMON_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_AUTOFILL_DIALOG_COMMON_H_
7 7
8 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
9 #include "components/autofill/core/browser/autofill_metrics.h" 8 #include "components/autofill/core/browser/autofill_metrics.h"
10 #include "components/autofill/core/browser/autofill_type.h" 9 #include "components/autofill/core/browser/autofill_type.h"
11 #include "components/autofill/core/browser/field_types.h" 10 #include "components/autofill/core/browser/field_types.h"
11 #include "components/autofill/core/browser/ui/autofill_dialog_types.h"
12 12
13 namespace autofill { 13 namespace autofill {
14 class AutofillProfile; 14 class AutofillProfile;
15 } 15 }
16 16
17 namespace wallet { 17 namespace wallet {
18 class Address; 18 class Address;
19 } 19 }
20 20
21 namespace autofill { 21 namespace autofill {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // to the |section|. 58 // to the |section|.
59 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent( 59 AutofillMetrics::DialogUiEvent DialogSectionToUiSelectionChangedEvent(
60 DialogSection section); 60 DialogSection section);
61 61
62 // Gets just the |type| attributes from each DetailInput. 62 // Gets just the |type| attributes from each DetailInput.
63 std::vector<ServerFieldType> TypesFromInputs(const DetailInputs& inputs); 63 std::vector<ServerFieldType> TypesFromInputs(const DetailInputs& inputs);
64 64
65 } // namespace common 65 } // namespace common
66 } // namespace autofill 66 } // namespace autofill
67 67
68 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_COMMON_H_ 68 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_AUTOFILL_DIALOG_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698