Index: components/autofill/content/browser/autocheckout_manager.h |
diff --git a/components/autofill/content/browser/autocheckout_manager.h b/components/autofill/content/browser/autocheckout_manager.h |
index e28304789084cb331506dad5f3208ad43492d229..9c98172a6286f07fe2dae542c3a288b534fac249 100644 |
--- a/components/autofill/content/browser/autocheckout_manager.h |
+++ b/components/autofill/content/browser/autocheckout_manager.h |
@@ -49,9 +49,10 @@ class AutocheckoutManager { |
// gathered from the requestAutocomplete dialog. |
void FillForms(); |
- // Called when clicking a proceed element in an Autocheckout flow fails. |
- // |status| is the reason for the failure. |
- void OnClickFailed(AutocheckoutStatus status); |
+ // Called to signal that the renderer has completed processing a page in the |
+ // Autocheckout flow. |status| is the reason for the failure, or |SUCCESS| if |
+ // there were no errors. |
+ void OnAutocheckoutPageCompleted(AutocheckoutStatus status); |
// Sets |page_meta_data_| with the meta data for the current page. |
void OnLoadedPageMetaData( |
@@ -128,6 +129,10 @@ class AutocheckoutManager { |
// towards |page_number|. |
void RecordTimeTaken(int page_number); |
+ // Terminate the Autocheckout flow and send Autocheckout status to Wallet |
+ // server. |
+ void EndAutocheckout(AutocheckoutStatus status); |
+ |
AutofillManager* autofill_manager_; // WEAK; owns us |
// Credit card verification code. |