// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_UI_PAYMENTS_AUTOFILL_PROGRESS_DIALOG_CONTROLLER_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_PAYMENTS_AUTOFILL_PROGRESS_DIALOG_CONTROLLER_H_ #include <string> #include "base/memory/weak_ptr.h" namespace autofill { // Interface that exposes controller functionality to // AutofillProgressDialogView. The interface exposes the title, description and // the button label to the view to help show a progress dialog with a single // button that acts as a cancel button. For example: We show a progress dialog // when contacting the bank during unmasking a virtual card. class AutofillProgressDialogController { … }; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_PAYMENTS_AUTOFILL_PROGRESS_DIALOG_CONTROLLER_H_