summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/browser/autocheckout_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/content/browser/autocheckout_manager.h')
-rw-r--r--components/autofill/content/browser/autocheckout_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/autofill/content/browser/autocheckout_manager.h b/components/autofill/content/browser/autocheckout_manager.h
index 18a0c26..a5442b9 100644
--- a/components/autofill/content/browser/autocheckout_manager.h
+++ b/components/autofill/content/browser/autocheckout_manager.h
@@ -120,6 +120,9 @@ class AutocheckoutManager {
// field type specified by |field|.
void SetValue(const AutofillField& field, FormFieldData* field_to_fill);
+ // Sets the progress of all steps for the given page to the provided value.
+ void SetStepProgressForPage(int page_number, AutocheckoutStepStatus status);
+
AutofillManager* autofill_manager_; // WEAK; owns us
// Credit card verification code.
@@ -150,6 +153,9 @@ class AutocheckoutManager {
// Whether or not the user is in an Autocheckout flow.
bool in_autocheckout_flow_;
+ // AutocheckoutStepTypes for the various pages of the flow.
+ std::map<int, std::vector<AutocheckoutStepType> > page_types_;
+
std::string google_transaction_id_;
base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_;