#include "chrome/browser/ui/autofill/update_address_bubble_controller.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/autofill/ui/ui_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/ui/autofill/address_bubble_controller_delegate.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
namespace autofill {
UpdateAddressBubbleController::UpdateAddressBubbleController(
base::WeakPtr<AddressBubbleControllerDelegate> delegate,
content::WebContents* web_contents,
const AutofillProfile& profile_to_save,
const AutofillProfile& original_profile)
: … { … }
UpdateAddressBubbleController::~UpdateAddressBubbleController() = default;
std::u16string UpdateAddressBubbleController::GetWindowTitle() const { … }
std::u16string UpdateAddressBubbleController::GetFooterMessage() const { … }
const AutofillProfile& UpdateAddressBubbleController::GetProfileToSave() const { … }
const AutofillProfile& UpdateAddressBubbleController::GetOriginalProfile()
const { … }
void UpdateAddressBubbleController::OnUserDecision(
AutofillClient::AddressPromptUserDecision decision,
base::optional_ref<const AutofillProfile> profile) { … }
void UpdateAddressBubbleController::OnEditButtonClicked() { … }
void UpdateAddressBubbleController::OnBubbleClosed() { … }
}