#include "components/autofill/content/renderer/form_tracker.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/content/renderer/autofill_agent_test_api.h"
#include "components/autofill/content/renderer/autofill_renderer_test.h"
#include "components/autofill/core/common/autofill_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/web/web_form_control_element.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace autofill {
namespace {
class MockFormTrackerObserver : public FormTracker::Observer { … };
class FormTrackerTest : public test::AutofillRendererTest,
public testing::WithParamInterface<int> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(FormTrackerTest, FormlessXHRThenHide) { … }
TEST_P(FormTrackerTest, FormlessHideThenXhr) { … }
}
}