#include "chrome/browser/ui/views/autofill/save_address_profile_view.h"
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/common/autofill_features.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
profile_ref;
Property;
class MockSaveAddressBubbleController : public SaveAddressBubbleController { … };
class SaveAddressProfileViewTest : public ChromeViewsTestBase { … };
std::unique_ptr<MockSaveAddressBubbleController>
SaveAddressProfileViewTest::CreateViewController() { … }
void SaveAddressProfileViewTest::CreateViewAndShow(
std::unique_ptr<MockSaveAddressBubbleController> controller) { … }
TEST_F(SaveAddressProfileViewTest, HasCloseButton) { … }
TEST_F(SaveAddressProfileViewTest, AcceptInvokesTheController) { … }
TEST_F(SaveAddressProfileViewTest, CancelInvokesTheController) { … }
}