#include "chrome/browser/ui/passwords/bubble_controllers/auto_sign_in_bubble_controller.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/ui/passwords/passwords_model_delegate_mock.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Return;
ReturnRef;
namespace {
constexpr char kSiteOrigin[] = …;
constexpr char16_t kUsername[] = …;
constexpr char16_t kPassword[] = …;
constexpr char kUIDismissalReasonGeneralMetric[] = …;
}
class AutoSignInBubbleControllerTest : public ::testing::Test { … };
void AutoSignInBubbleControllerTest::Init() { … }
void AutoSignInBubbleControllerTest::DestroyController() { … }
TEST_F(AutoSignInBubbleControllerTest, PopupAutoSigninToastWithBubbleClosing) { … }
TEST_F(AutoSignInBubbleControllerTest,
PopupAutoSigninToastWithoutBubbleClosing) { … }