#include "chrome/browser/ui/views/webid/fedcm_modal_dialog_view.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "content/public/test/test_web_contents_factory.h"
class FedCmModalDialogView;
namespace {
class FedCmModalDialogViewTest : public ChromeViewsTestBase { … };
class TestDelegate : public content::WebContentsDelegate { … };
}
TEST_F(FedCmModalDialogViewTest, ShowPopupWindow) { … }
TEST_F(FedCmModalDialogViewTest, ShowPopupWindowFailedByInvalidUrl) { … }
TEST_F(FedCmModalDialogViewTest, ShowPopupWindowFailedForOtherReasons) { … }
TEST_F(FedCmModalDialogViewTest, IdpInitiatedCloseMetric) { … }
TEST_F(FedCmModalDialogViewTest, PopupWindowDestroyedMetric) { … }