Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
index cc6774eb4e91b9d1e0c494330c1e5f027268acf9..93d50fb0514f7f1f87e4781080d12bfa7c4aa21a 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -40,6 +40,7 @@ class WebContents; |
namespace autofill { |
class AutofillDialogView; |
+class DataModelWrapper; |
// This class drives the dialog that appears when a site uses the imperative |
// autocomplete API to fill out a form. |
@@ -181,6 +182,11 @@ class AutofillDialogControllerImpl : public AutofillDialogController, |
// menu. |
bool IsCompleteProfile(const AutofillProfile& profile); |
+ // Creates a DataModelWrapper item for the item that's checked in the |
+ // suggestion model for |section|. This may represent Autofill |
+ // data or Wallet data, depending on whether Wallet is currently enabled. |
+ DataModelWrapper* CreateWrapper(DialogSection section); |
Ilya Sherman
2013/02/12 22:50:34
Please return a scoped_ptr<>
Evan Stade
2013/02/13 00:11:58
Done.
|
+ |
// Fills in |section|-related fields in |output_| according to the state of |
// |view_|. |
void FillOutputForSection(DialogSection section); |